public class ServicesFactory
extends java.lang.Object
ServicesFactory
is responsible for creating instances of services
contained inside the com.vmware.vcenter.services package and also has the subpackages reference
to access respective subpackage services.
Modifier and Type | Method and Description |
---|---|
static ServicesFactory |
getFactory(StubFactory stubFactory,
StubConfiguration stubConfig)
Creates the new instance of this class with provided configuration
|
Service |
serviceService()
Returns an instance of class
Service |
void |
updateStubConfiguration(StubFactory stubFactory,
StubConfiguration stubConfig) |
public static ServicesFactory getFactory(StubFactory stubFactory, StubConfiguration stubConfig)
stubFactory
- StubFactory
instance is responsible for creating stubsstubConfig
- StubConfiguration
instance is required to authenticate the requestServicesFactory
factory instancepublic void updateStubConfiguration(StubFactory stubFactory, StubConfiguration stubConfig)