org.logicblaze.lingo.jmx.remote.jms
Class MBeanJmsServerConnectionClient
java.lang.Object
org.logicblaze.lingo.jmx.remote.jms.MBeanServerConnectionDelegate
org.logicblaze.lingo.jmx.remote.jms.MBeanJmsServerConnectionClient
- All Implemented Interfaces:
- javax.jms.MessageListener, javax.management.MBeanServerConnection
public class MBeanJmsServerConnectionClient
- extends MBeanServerConnectionDelegate
- implements javax.jms.MessageListener
- Version:
- $Revision: 95 $
Method Summary |
void |
addNotificationListener(javax.management.ObjectName name,
javax.management.NotificationListener listener,
javax.management.NotificationFilter filter,
Object handback)
Add a notification listener |
void |
onMessage(javax.jms.Message msg)
MessageListener implementation |
void |
removeNotificationListener(javax.management.ObjectName name,
javax.management.NotificationListener listener)
Remove a Notification Listener |
void |
removeNotificationListener(javax.management.ObjectName name,
javax.management.NotificationListener listener,
javax.management.NotificationFilter filter,
Object handback)
Remove a Notification Listener |
Methods inherited from class org.logicblaze.lingo.jmx.remote.jms.MBeanServerConnectionDelegate |
addNotificationListener, createMBean, createMBean, createMBean, createMBean, getAttribute, getAttributes, getDefaultDomain, getDomains, getMBeanCount, getMBeanInfo, getObjectInstance, invoke, isInstanceOf, isRegistered, queryMBeans, queryNames, removeNotificationListener, removeNotificationListener, setAttribute, setAttributes, unregisterMBean |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MBeanJmsServerConnectionClient
public MBeanJmsServerConnectionClient(MBeanJmsServerConnection connection,
javax.jms.Connection jmsConnection)
throws javax.jms.JMSException
- Construct this thing
- Parameters:
connection
-
- Throws:
javax.jms.JMSException
addNotificationListener
public void addNotificationListener(javax.management.ObjectName name,
javax.management.NotificationListener listener,
javax.management.NotificationFilter filter,
Object handback)
- Add a notification listener
- Specified by:
addNotificationListener
in interface javax.management.MBeanServerConnection
- Overrides:
addNotificationListener
in class MBeanServerConnectionDelegate
- Parameters:
name
- listener
- filter
- handback
-
removeNotificationListener
public void removeNotificationListener(javax.management.ObjectName name,
javax.management.NotificationListener listener)
throws javax.management.ListenerNotFoundException
- Remove a Notification Listener
- Specified by:
removeNotificationListener
in interface javax.management.MBeanServerConnection
- Overrides:
removeNotificationListener
in class MBeanServerConnectionDelegate
- Parameters:
name
- listener
-
- Throws:
javax.management.ListenerNotFoundException
removeNotificationListener
public void removeNotificationListener(javax.management.ObjectName name,
javax.management.NotificationListener listener,
javax.management.NotificationFilter filter,
Object handback)
throws javax.management.ListenerNotFoundException
- Remove a Notification Listener
- Specified by:
removeNotificationListener
in interface javax.management.MBeanServerConnection
- Overrides:
removeNotificationListener
in class MBeanServerConnectionDelegate
- Parameters:
name
- listener
- filter
- handback
-
- Throws:
javax.management.ListenerNotFoundException
onMessage
public void onMessage(javax.jms.Message msg)
- MessageListener implementation
- Specified by:
onMessage
in interface javax.jms.MessageListener
- Parameters:
msg
-
Copyright © 2012 LogicBlaze, Inc.. All Rights Reserved.