com.liferay.portal.kernel.messaging.jmx
Class JMXMessageListener

java.lang.Object
  extended by com.liferay.portal.kernel.messaging.jmx.JMXMessageListener
All Implemented Interfaces:
DestinationEventListener

public class JMXMessageListener
extends java.lang.Object
implements DestinationEventListener

View Source

Author:
Michael C. Han, Brian Wing Shun Chan

Constructor Summary
JMXMessageListener()
           
 
Method Summary
 void destinationAdded(Destination destination)
           
 void destinationRemoved(Destination destination)
           
 void destroy()
           
 void init()
           
protected  void registerDestination(Destination destination)
           
 void setMBeanServer(javax.management.MBeanServer mBeanServer)
           
 void setMessageBus(MessageBus messageBus)
           
protected  void unregisterDestination(Destination destination)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JMXMessageListener

public JMXMessageListener()
Method Detail

destinationAdded

public void destinationAdded(Destination destination)
Specified by:
destinationAdded in interface DestinationEventListener

destinationRemoved

public void destinationRemoved(Destination destination)
Specified by:
destinationRemoved in interface DestinationEventListener

destroy

public void destroy()
             throws java.lang.Exception
Throws:
java.lang.Exception

init

public void init()
          throws java.lang.Exception
Throws:
java.lang.Exception

setMBeanServer

public void setMBeanServer(javax.management.MBeanServer mBeanServer)

setMessageBus

public void setMessageBus(MessageBus messageBus)

registerDestination

protected void registerDestination(Destination destination)
                            throws java.lang.Exception
Throws:
java.lang.Exception

unregisterDestination

protected void unregisterDestination(Destination destination)
                              throws java.lang.Exception
Throws:
java.lang.Exception