Examples of TribesClusterManager


Examples of org.apache.axis2.clustering.tribes.TribesClusterManager

    protected ClusterManager getClusterManager(ConfigurationContext configCtx,
                                               ContextManager contextManager,
                                               ConfigurationManager configManager)
            throws AxisFault {
        ClusterManager clusterManager = new TribesClusterManager();
        configCtx.getAxisConfiguration().setClusterManager(clusterManager);

        configManager.
                setConfigurationManagerListener(new DefaultConfigurationManagerListener());
        clusterManager.setConfigurationManager(configManager);

        contextManager.setContextManagerListener(new DefaultContextManagerListener());
        clusterManager.setContextManager(contextManager);

        clusterManager.setConfigurationContext(configCtx);

        return clusterManager;
    }
View Full Code Here

Examples of org.apache.axis2.clustering.tribes.TribesClusterManager

import org.apache.axis2.context.ConfigurationContext;

public class UpdateStateTest extends UpdateStateTestCase {

    protected ClusterManager getClusterManager(ConfigurationContext configCtx) {
        TribesClusterManager tribesClusterManager = new TribesClusterManager();
        tribesClusterManager.setConfigurationContext(configCtx);
        tribesClusterManager.setConfigurationContext(configurationContext1);
        DefaultConfigurationManager configurationManager = new DefaultConfigurationManager();
        configurationManager.
                setConfigurationManagerListener(new DefaultConfigurationManagerListener());
        tribesClusterManager.setConfigurationManager(configurationManager);
        DefaultContextManager contextManager = new DefaultContextManager();
        contextManager.setContextManagerListener(new DefaultContextManagerListener());
        tribesClusterManager.setContextManager(contextManager);
        return tribesClusterManager;
    }
View Full Code Here

Examples of org.apache.axis2.clustering.tribes.TribesClusterManager

public class ConfigurationManagerTest extends
                                      org.apache.axis2.clustering.configuration.ConfigurationManagerTestCase {

    protected ClusterManager getClusterManager(ConfigurationContext configCtx) {
        TribesClusterManager tribesClusterManager = new TribesClusterManager();
        tribesClusterManager.setConfigurationContext(configCtx);
        DefaultConfigurationManager configurationManager = new DefaultConfigurationManager();
        configurationManager.
                setConfigurationManagerListener(new DefaultConfigurationManagerListener());
        tribesClusterManager.setConfigurationManager(configurationManager);
        DefaultContextManager contextManager = new DefaultContextManager();
        contextManager.setContextManagerListener(new DefaultContextManagerListener());
        tribesClusterManager.setContextManager(contextManager);
        return tribesClusterManager;
    }
View Full Code Here

Examples of org.apache.axis2.clustering.tribes.TribesClusterManager

    protected ClusterManager getClusterManager(ConfigurationContext configCtx,
                                               ContextManager contextManager,
                                               ConfigurationManager configManager)
            throws AxisFault {
        ClusterManager clusterManager = new TribesClusterManager();
        configCtx.getAxisConfiguration().setClusterManager(clusterManager);

        configManager.
                setConfigurationManagerListener(new DefaultConfigurationManagerListener());
        clusterManager.setConfigurationManager(configManager);

        contextManager.setContextManagerListener(new DefaultContextManagerListener());
        clusterManager.setContextManager(contextManager);

        clusterManager.setConfigurationContext(configCtx);

        return clusterManager;
    }
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.