|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ow2.jonas.ee.mejb.ListenerRegistrationImpl
public class ListenerRegistrationImpl
ListenerRegistration implementation.
| Constructor Summary | |
|---|---|
ListenerRegistrationImpl(JMXServiceURL[] urls)
A ListenerRegistration object allows to ad/remove listeners to notifications emitted by MBeans which are registred in a remote MBeanServer |
|
| Method Summary | |
|---|---|
void |
addNotificationListener(ObjectName arg0,
NotificationListener arg1,
NotificationFilter arg2,
Object arg3)
Add notification listener |
void |
removeNotificationListener(ObjectName arg0,
NotificationListener arg1)
Remove notification listener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ListenerRegistrationImpl(JMXServiceURL[] urls)
urls - the remote MBean server url(s) allowing to connect to this server| Method Detail |
|---|
public void addNotificationListener(ObjectName arg0,
NotificationListener arg1,
NotificationFilter arg2,
Object arg3)
throws InstanceNotFoundException,
RemoteException
addNotificationListener in interface ListenerRegistrationarg0 - identifies the emitter MBeanarg1 - the listener to addarg2 - the associated filterarg3 - the associated handback object
InstanceNotFoundException - emitter MBean not registered in the MBeanServer
RemoteException - operation failed
public void removeNotificationListener(ObjectName arg0,
NotificationListener arg1)
throws InstanceNotFoundException,
ListenerNotFoundException,
RemoteException
removeNotificationListener in interface ListenerRegistrationarg0 - identifies the emitter MBeanarg1 - the listener to remove
InstanceNotFoundException - emitter MBean not registered in the MBeanServer
ListenerNotFoundException - arg1 not registered as listener
RemoteException - operation failed
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||