Package org.apache.stratos.cloud.controller.stub

Examples of org.apache.stratos.cloud.controller.stub.CloudControllerServiceStub


  public CloudControllerServiceClient(String epr) throws AxisFault {

    ConfigurationContext clientConfigContext = DataHolder.getClientConfigContext();
    try {
      stub = new CloudControllerServiceStub(clientConfigContext, epr);
      stub._getServiceClient().getOptions().setTimeOutInMilliSeconds(300000);

    } catch (AxisFault axisFault) {
      String msg = "Failed to initiate AutoscalerService client. " + axisFault.getMessage();
      log.error(msg, axisFault);
View Full Code Here


    @Override
    public void init() {

        try {

            stub = new CloudControllerServiceStub(CLOUD_CONTROLLER_EPR);
            stub._getServiceClient().getOptions().setTimeOutInMilliSeconds(300000);

        } catch (AxisFault axisFault) {
            String msg = "Failed to initiate AutoscalerService client. " + axisFault.getMessage();
            log.error(msg, axisFault);
View Full Code Here

    String ccConnectionTimeout =
      System.getProperty(CartridgeConstants.CC_CONNECTION_TIMEOUT) == null ? "300000" : System.getProperty(CartridgeConstants.CC_CONNECTION_TIMEOUT);
   
    ConfigurationContext clientConfigContext = DataHolder.getClientConfigContext();
    try {
      stub = new CloudControllerServiceStub(clientConfigContext, epr);
      stub._getServiceClient().getOptions().setProperty(HTTPConstants.SO_TIMEOUT, new Integer(ccSocketTimeout));
      stub._getServiceClient().getOptions().setProperty(HTTPConstants.CONNECTION_TIMEOUT, new Integer(ccConnectionTimeout));

    } catch (AxisFault axisFault) {
      String msg = "Failed to initiate AutoscalerService client. " + axisFault.getMessage();
View Full Code Here

TOP

Related Classes of org.apache.stratos.cloud.controller.stub.CloudControllerServiceStub

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.