public class SystemFactory
extends java.lang.Object
SystemFactory
is responsible for creating instances of services
contained inside the com.vmware.appliance.system package and also has the subpackages reference
to access respective subpackage services.
Modifier and Type | Method and Description |
---|---|
static SystemFactory |
getFactory(StubFactory stubFactory,
StubConfiguration stubConfig)
Creates the new instance of this class with provided configuration
|
Storage |
storageService()
Returns an instance of class
Storage |
TimeFactory |
time() |
Time |
timeService()
Returns an instance of class
Time |
void |
updateStubConfiguration(StubFactory stubFactory,
StubConfiguration stubConfig) |
Uptime |
uptimeService()
Returns an instance of class
Uptime |
Version |
versionService()
Returns an instance of class
Version |
public static SystemFactory getFactory(StubFactory stubFactory, StubConfiguration stubConfig)
stubFactory
- StubFactory
instance is responsible for creating stubsstubConfig
- StubConfiguration
instance is required to authenticate the requestSystemFactory
factory instancepublic TimeFactory time()
public void updateStubConfiguration(StubFactory stubFactory, StubConfiguration stubConfig)