org.apache.activemq.network
Class MBeanNetworkListener

java.lang.Object
  extended by org.apache.activemq.network.MBeanNetworkListener
All Implemented Interfaces:
NetworkBridgeListener

public class MBeanNetworkListener
extends Object
implements NetworkBridgeListener


Constructor Summary
MBeanNetworkListener(BrokerService brokerService, ObjectName connectorName)
           
 
Method Summary
 void bridgeFailed()
          called when the transport fails
protected  ObjectName createNetworkBridgeObjectName(NetworkBridge bridge)
           
 void onStart(NetworkBridge bridge)
          called after the bridge is started.
 void onStop(NetworkBridge bridge)
          called before the bridge is stopped.
 void setCreatedByDuplex(boolean createdByDuplex)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MBeanNetworkListener

public MBeanNetworkListener(BrokerService brokerService,
                            ObjectName connectorName)
Method Detail

bridgeFailed

public void bridgeFailed()
Description copied from interface: NetworkBridgeListener
called when the transport fails

Specified by:
bridgeFailed in interface NetworkBridgeListener

onStart

public void onStart(NetworkBridge bridge)
Description copied from interface: NetworkBridgeListener
called after the bridge is started.

Specified by:
onStart in interface NetworkBridgeListener

onStop

public void onStop(NetworkBridge bridge)
Description copied from interface: NetworkBridgeListener
called before the bridge is stopped.

Specified by:
onStop in interface NetworkBridgeListener

createNetworkBridgeObjectName

protected ObjectName createNetworkBridgeObjectName(NetworkBridge bridge)
                                            throws MalformedObjectNameException
Throws:
MalformedObjectNameException

setCreatedByDuplex

public void setCreatedByDuplex(boolean createdByDuplex)


Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.