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