org.apache.stratos.manager.client
Class CloudControllerServiceClient

java.lang.Object
  extended by org.apache.stratos.manager.client.CloudControllerServiceClient

public class CloudControllerServiceClient
extends Object


Constructor Summary
CloudControllerServiceClient(String epr)
           
 
Method Summary
 void deployCartridgeDefinition(org.apache.stratos.cloud.controller.stub.pojo.CartridgeConfig cartridgeConfig)
           
 org.apache.stratos.cloud.controller.stub.pojo.CartridgeInfo getCartridgeInfo(String cartridgeType)
           
 org.apache.stratos.cloud.controller.stub.pojo.ClusterContext getClusterContext(String clusterId)
           
 String[] getRegisteredCartridges()
           
static CloudControllerServiceClient getServiceClient()
           
 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)
           
 void terminateAllInstances(String clusterId)
           
 void unDeployCartridgeDefinition(String cartridgeType)
           
 void unregisterService(String clusterId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CloudControllerServiceClient

public CloudControllerServiceClient(String epr)
                             throws org.apache.axis2.AxisFault
Throws:
org.apache.axis2.AxisFault
Method Detail

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.