Package org.apache.stratos.messaging.event.instance.status

Examples of org.apache.stratos.messaging.event.instance.status.InstanceMaintenanceModeEvent


     public static void publishMaintenanceModeEvent() {
        if (!isMaintenance()) {
            if (log.isInfoEnabled()) {
                log.info("Publishing instance maintenance mode event");
            }
            InstanceMaintenanceModeEvent event = new InstanceMaintenanceModeEvent(
                    CartridgeAgentConfiguration.getInstance().getServiceName(),
                    CartridgeAgentConfiguration.getInstance().getClusterId(),
                    CartridgeAgentConfiguration.getInstance().getNetworkPartitionId(),
                    CartridgeAgentConfiguration.getInstance().getPartitionId(),
                    CartridgeAgentConfiguration.getInstance().getMemberId());
View Full Code Here

TOP

Related Classes of org.apache.stratos.messaging.event.instance.status.InstanceMaintenanceModeEvent

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.