Package org.apache.stratos.cloud.controller.impl

Examples of org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl


        DeclarativeServiceReferenceHolder.getInstance().getConfigPub().init();
      }
           
            BundleContext bundleContext = context.getBundleContext();
            bundleContext.registerService(CloudControllerService.class.getName(),
                                          new CloudControllerServiceImpl(), null);
           

            log.debug("******* Cloud Controller Service bundle is activated ******* ");
        } catch (Throwable e) {
            log.error("******* Cloud Controller Service bundle is failed to activate ****", e);
View Full Code Here


                return;
            }
        }
        CartridgeInfo cartridgeInfo = null;
        try {
            cartridgeInfo = new CloudControllerServiceImpl().getCartridgeInfo(serviceName);
        } catch (UnregisteredCartridgeException e) {
            log.error("error while getting the cartridge information when publishing the state changes... ");
        } finally {
            MemberContext memberContext = FasterLookUpDataHolder.getInstance().getMemberContextOfMemberId(memberId);
            //Construct the data to be published
View Full Code Here

                                            instanceReadyToShutdownEvent.getClusterId(),
                                            instanceReadyToShutdownEvent.getServiceName(),
                                            MemberStatus.ReadyToShutDown.toString(),
                                            null);
        //calling the actual termination of the instance
        new CloudControllerServiceImpl().terminateInstance(memberId);

    }
View Full Code Here

            Thread tdelegator = new Thread(delegator);
            tdelegator.start();
         
          // Register cloud controller service                                                   E
            BundleContext bundleContext = context.getBundleContext();
            bundleContext.registerService(CloudControllerService.class.getName(), new CloudControllerServiceImpl(), null);

            if(log.isInfoEnabled()) {
                log.info("Scheduling tasks");
            }
           
View Full Code Here

TOP

Related Classes of org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl

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.