Package org.apache.stratos.cloud.controller.pojo

Examples of org.apache.stratos.cloud.controller.pojo.CartridgeInfo


                log.error("Data Publisher cannot be created or found.");
                release();
                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
            List<Object> payload = new ArrayList<Object>();
            // Payload values
            payload.add(memberId);
            payload.add(serviceName);
            payload.add(clusterId);
            payload.add(memberContext.getLbClusterId());
            payload.add(partitionId);
            payload.add(networkId);
            if(cartridgeInfo != null) {
                payload.add(String.valueOf(cartridgeInfo.isMultiTenant()));
            } else {
                payload.add("");
            }
            payload.add(memberContext.getPartition().getProvider());
            payload.add(status);
View Full Code Here

TOP

Related Classes of org.apache.stratos.cloud.controller.pojo.CartridgeInfo

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.