org.apache.stratos.manager.client
Class CloudControllerServiceClient
java.lang.Object
org.apache.stratos.manager.client.CloudControllerServiceClient
public class CloudControllerServiceClient
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CloudControllerServiceClient
public CloudControllerServiceClient(String epr)
throws org.apache.axis2.AxisFault
- Throws:
org.apache.axis2.AxisFault
getServiceClient
public static CloudControllerServiceClient getServiceClient()
throws org.apache.axis2.AxisFault
- Throws:
org.apache.axis2.AxisFault
deployCartridgeDefinition
public void deployCartridgeDefinition(org.apache.stratos.cloud.controller.stub.pojo.CartridgeConfig cartridgeConfig)
throws RemoteException,
org.apache.stratos.cloud.controller.stub.CloudControllerServiceInvalidCartridgeDefinitionExceptionException,
org.apache.stratos.cloud.controller.stub.CloudControllerServiceInvalidIaasProviderExceptionException
- Throws:
RemoteException
org.apache.stratos.cloud.controller.stub.CloudControllerServiceInvalidCartridgeDefinitionExceptionException
org.apache.stratos.cloud.controller.stub.CloudControllerServiceInvalidIaasProviderExceptionException
unDeployCartridgeDefinition
public void unDeployCartridgeDefinition(String cartridgeType)
throws RemoteException,
org.apache.stratos.cloud.controller.stub.CloudControllerServiceInvalidCartridgeTypeExceptionException
- Throws:
RemoteException
org.apache.stratos.cloud.controller.stub.CloudControllerServiceInvalidCartridgeTypeExceptionException
register
public boolean register(String clusterId,
String cartridgeType,
String payload,
String tenantRange,
String hostName,
org.apache.stratos.cloud.controller.stub.pojo.Properties properties,
String autoscalorPolicyName,
String deploymentPolicyName)
throws RemoteException,
org.apache.stratos.cloud.controller.stub.CloudControllerServiceUnregisteredCartridgeExceptionException
- Throws:
RemoteException
org.apache.stratos.cloud.controller.stub.CloudControllerServiceUnregisteredCartridgeExceptionException
terminateAllInstances
public void terminateAllInstances(String clusterId)
throws RemoteException,
org.apache.stratos.cloud.controller.stub.CloudControllerServiceInvalidClusterExceptionException
- Throws:
RemoteException
org.apache.stratos.cloud.controller.stub.CloudControllerServiceInvalidClusterExceptionException
getRegisteredCartridges
public String[] getRegisteredCartridges()
throws RemoteException
- Throws:
RemoteException
getCartridgeInfo
public org.apache.stratos.cloud.controller.stub.pojo.CartridgeInfo getCartridgeInfo(String cartridgeType)
throws RemoteException,
org.apache.stratos.cloud.controller.stub.CloudControllerServiceUnregisteredCartridgeExceptionException
- Throws:
RemoteException
org.apache.stratos.cloud.controller.stub.CloudControllerServiceUnregisteredCartridgeExceptionException
unregisterService
public void unregisterService(String clusterId)
throws RemoteException,
org.apache.stratos.cloud.controller.stub.CloudControllerServiceUnregisteredClusterExceptionException
- Throws:
RemoteException
org.apache.stratos.cloud.controller.stub.CloudControllerServiceUnregisteredClusterExceptionException
getClusterContext
public org.apache.stratos.cloud.controller.stub.pojo.ClusterContext getClusterContext(String clusterId)
throws RemoteException
- Throws:
RemoteException
Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.