org.jboss.messaging.core.server.cluster.impl
Class ClusterManagerImpl

java.lang.Object
  extended by org.jboss.messaging.core.server.cluster.impl.ClusterManagerImpl
All Implemented Interfaces:
ClusterManager, MessagingComponent

public class ClusterManagerImpl
extends java.lang.Object
implements ClusterManager

A ClusterManagerImpl

Author:
Tim Fox Created 18 Nov 2008 09:23:49

Constructor Summary
ClusterManagerImpl(ExecutorFactory executorFactory, MessagingServer server, PostOffice postOffice, java.util.concurrent.ScheduledExecutorService scheduledExecutor, ManagementService managementService, Configuration configuration, UUID nodeUUID, Channel replicatingChannel, boolean backup)
           
 
Method Summary
 void activate()
           
 java.util.Map<java.lang.String,Bridge> getBridges()
           
 java.util.Set<BroadcastGroup> getBroadcastGroups()
           
 ClusterConnection getClusterConnection(SimpleString name)
           
 java.util.Set<ClusterConnection> getClusterConnections()
           
 boolean isStarted()
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClusterManagerImpl

public ClusterManagerImpl(ExecutorFactory executorFactory,
                          MessagingServer server,
                          PostOffice postOffice,
                          java.util.concurrent.ScheduledExecutorService scheduledExecutor,
                          ManagementService managementService,
                          Configuration configuration,
                          UUID nodeUUID,
                          Channel replicatingChannel,
                          boolean backup)
Method Detail

start

public void start()
           throws java.lang.Exception
Specified by:
start in interface MessagingComponent
Throws:
java.lang.Exception

stop

public void stop()
          throws java.lang.Exception
Specified by:
stop in interface MessagingComponent
Throws:
java.lang.Exception

isStarted

public boolean isStarted()
Specified by:
isStarted in interface MessagingComponent

getBridges

public java.util.Map<java.lang.String,Bridge> getBridges()
Specified by:
getBridges in interface ClusterManager

getClusterConnections

public java.util.Set<ClusterConnection> getClusterConnections()
Specified by:
getClusterConnections in interface ClusterManager

getBroadcastGroups

public java.util.Set<BroadcastGroup> getBroadcastGroups()
Specified by:
getBroadcastGroups in interface ClusterManager

getClusterConnection

public ClusterConnection getClusterConnection(SimpleString name)
Specified by:
getClusterConnection in interface ClusterManager

activate

public void activate()
Specified by:
activate in interface ClusterManager


Copyright © 2006 JBoss Inc. All Rights Reserved.