|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.virtualmock.VMFactory
A Factory to create instances of VM. This is the entry point to VirtualMock. Also performs common initialization for the VirtualMock environment.
| Constructor Summary | |
VMFactory()
|
|
| Method Summary | |
protected CallManager |
createCallManager()
Create the CallManager. |
protected ResourceManager |
createResourceManager()
Create the ResourceManager. |
protected RuleManager |
createRuleManager(java.util.List rules,
ResourceManager resourceManager)
Create the RuleManager. |
protected java.util.List |
createRules(CallManager callManager,
ResourceManager resourceManager)
Create and configure the rules that will apply for this virtualmock session. |
static VM |
createVM()
Creates a new instance of the VM class. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public VMFactory()
| Method Detail |
public static VM createVM()
protected CallManager createCallManager()
protected ResourceManager createResourceManager()
protected RuleManager createRuleManager(java.util.List rules,
ResourceManager resourceManager)
rules - the list of rules to be used when creating the RuleManagerresourceManager - the ResourceManager to be used when creating the
RuleManager
protected java.util.List createRules(CallManager callManager,
ResourceManager resourceManager)
callManager - the CallManager that will be used when creating the
rulesresourceManager - the ResourceManager that will be used when
creating the rules
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||