org.jboss.messaging.core.management.impl
Class ClusterConnectionControlImpl

java.lang.Object
  extended by org.jboss.messaging.core.management.impl.ClusterConnectionControlImpl
All Implemented Interfaces:
ClusterConnectionControl, MessagingComponentControl

public class ClusterConnectionControlImpl
extends java.lang.Object
implements ClusterConnectionControl

A ClusterConnectionControl

Author:
Jeff Mesnil

Constructor Summary
ClusterConnectionControlImpl(ClusterConnection clusterConnection, ClusterConnectionConfiguration configuration)
           
 
Method Summary
 java.lang.String getAddress()
           
 java.lang.String getDiscoveryGroupName()
           
 int getMaxHops()
           
 java.lang.String getName()
           
 long getRetryInterval()
           
 java.lang.Object[] getStaticConnectorNamePairs()
           
 java.lang.String getStaticConnectorNamePairsAsJSON()
           
 boolean isDuplicateDetection()
           
 boolean isForwardWhenNoConsumers()
           
 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

ClusterConnectionControlImpl

public ClusterConnectionControlImpl(ClusterConnection clusterConnection,
                                    ClusterConnectionConfiguration configuration)
Method Detail

getAddress

public java.lang.String getAddress()
Specified by:
getAddress in interface ClusterConnectionControl

getDiscoveryGroupName

public java.lang.String getDiscoveryGroupName()
Specified by:
getDiscoveryGroupName in interface ClusterConnectionControl

getMaxHops

public int getMaxHops()
Specified by:
getMaxHops in interface ClusterConnectionControl

getName

public java.lang.String getName()
Specified by:
getName in interface ClusterConnectionControl

getRetryInterval

public long getRetryInterval()
Specified by:
getRetryInterval in interface ClusterConnectionControl

getStaticConnectorNamePairs

public java.lang.Object[] getStaticConnectorNamePairs()
Specified by:
getStaticConnectorNamePairs in interface ClusterConnectionControl

getStaticConnectorNamePairsAsJSON

public java.lang.String getStaticConnectorNamePairsAsJSON()
                                                   throws java.lang.Exception
Specified by:
getStaticConnectorNamePairsAsJSON in interface ClusterConnectionControl
Throws:
java.lang.Exception

isDuplicateDetection

public boolean isDuplicateDetection()
Specified by:
isDuplicateDetection in interface ClusterConnectionControl

isForwardWhenNoConsumers

public boolean isForwardWhenNoConsumers()
Specified by:
isForwardWhenNoConsumers in interface ClusterConnectionControl

isStarted

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

start

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

stop

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


Copyright © 2006 JBoss Inc. All Rights Reserved.