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