Examples of GetConfigurationResponseCommand


Examples of org.apache.axis2.clustering.control.GetConfigurationResponseCommand

            if (configurationContext.
                    getPropertyNonReplicable(ClusteringConstants.CLUSTER_INITIALIZED) == null) {
                return null;
            }
            command.execute(configurationContext);
            GetConfigurationResponseCommand
                    getConfigRespCmd = new GetConfigurationResponseCommand();
            getConfigRespCmd.
                    setServiceGroups(((GetConfigurationCommand) command).getServiceGroupNames());
            return getConfigRespCmd;
        }
        return null;
    }
View Full Code Here

Examples of org.apache.axis2.clustering.control.GetConfigurationResponseCommand

            if (configurationContext.
                    getPropertyNonReplicable(ClusteringConstants.CLUSTER_INITIALIZED) == null) {
                return;
            }
            command.execute(configurationContext);
            GetConfigurationResponseCommand
                    getConfigRespCmd = new GetConfigurationResponseCommand();
            getConfigRespCmd.
                    setServiceGroups(((GetConfigurationCommand) command).getServiceGroupNames());
            channelSender.sendToMember(getConfigRespCmd, sender);
        } else if (command instanceof AckCommand) {
            AckCommand cmd = (AckCommand) command;
            cmd.setMemberId(TribesUtil.getHost(sender));
View Full Code Here

Examples of org.apache.axis2.clustering.control.GetConfigurationResponseCommand

            try {
                log.info("Received " + msg + " initialization request message from " +
                         TribesUtil.getName(invoker));
                GetConfigurationCommand command = (GetConfigurationCommand) msg;
                command.execute(configurationContext);
                GetConfigurationResponseCommand
                        getConfigRespCmd = new GetConfigurationResponseCommand();
                getConfigRespCmd.setServiceGroups(command.getServiceGroupNames());
                return getConfigRespCmd;
            } catch (ClusteringFault e) {
                String errMsg = "Cannot handle initialization request";
                log.error(errMsg, e);
                throw new RemoteProcessException(errMsg, e);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.