public class ClusterFactory
extends java.lang.Object
ClusterFactory
is responsible for creating instances of services
contained inside the com.vmware.vcenter.vcha.cluster package and also has the subpackages reference
to access respective subpackage services.
Modifier and Type | Method and Description |
---|---|
Active |
activeService()
Returns an instance of class
Active |
DeploymentType |
deploymentTypeService()
Returns an instance of class
DeploymentType |
static ClusterFactory |
getFactory(StubFactory stubFactory,
StubConfiguration stubConfig)
Creates the new instance of this class with provided configuration
|
Mode |
modeService()
Returns an instance of class
Mode |
Passive |
passiveService()
Returns an instance of class
Passive |
void |
updateStubConfiguration(StubFactory stubFactory,
StubConfiguration stubConfig) |
Witness |
witnessService()
Returns an instance of class
Witness |
public static ClusterFactory getFactory(StubFactory stubFactory, StubConfiguration stubConfig)
stubFactory
- StubFactory
instance is responsible for creating stubsstubConfig
- StubConfiguration
instance is required to authenticate the requestClusterFactory
factory instancepublic DeploymentType deploymentTypeService()
DeploymentType
public void updateStubConfiguration(StubFactory stubFactory, StubConfiguration stubConfig)