public final class RuntimeFactory
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
DeploymentRESTClient |
getDeploymentRESTClient(CentraSiteSession session)
This returns an instance of
DeploymentRESTClient . |
DeploymentRESTClient |
getDeploymentRESTClient(java.lang.String username,
java.lang.String password)
This returns an instance of
DeploymentRESTClient . |
GatewayRESTClient |
getGatewayClient(CentraSiteSession session)
This returns an instance of
GatewayRESTClient . |
GatewayRESTClient |
getGatewayClient(java.lang.String username,
java.lang.String password)
This returns an instance of
GatewayRESTClient . |
static RuntimeFactory |
getInstance()
Static Initializer to the Factory class
|
public static RuntimeFactory getInstance()
RuntimeFactory
public GatewayRESTClient getGatewayClient(CentraSiteSession session) throws CLLException
GatewayRESTClient
.CentraSiteSession
object that is passed as parameter.session
- CentraSite session object.GatewayRESTClient
CLLException
- If an Error occurs while creating the REST clientpublic GatewayRESTClient getGatewayClient(java.lang.String username, java.lang.String password) throws CLLException
GatewayRESTClient
.username
- Username to be used by the client for invokes to the Servicepassword
- Password to be used by the client for invokes to the ServiceGatewayRESTClient
CLLException
- If an Error occurs while creating the REST clientpublic DeploymentRESTClient getDeploymentRESTClient(CentraSiteSession session) throws CLLException
DeploymentRESTClient
.CentraSiteSession
object that is passed as parameter.session
- CentraSite session object.DeploymentRESTClient
CLLException
- If an Error occurs while creating the REST clientpublic DeploymentRESTClient getDeploymentRESTClient(java.lang.String username, java.lang.String password) throws CLLException
DeploymentRESTClient
.username
- Username to be used by the client for invokes to the Servicepassword
- Password to be used by the client for invokes to the ServiceDeploymentRESTClient
CLLException
- If an Error occurs while creating the REST client