|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ow2.jonas.ee.mejb.ListenerRegistrationImpl
public class ListenerRegistrationImpl
ListenerRegistration implementation.
Constructor Summary | |
---|---|
ListenerRegistrationImpl(MBeanServerConnection connection)
A ListenerRegistration object allows to ad/remove listeners to notifications emitted by MBeans which are registered in a remote MBeanServer. |
Method Summary | |
---|---|
void |
addNotificationListener(ObjectName name,
NotificationListener listener,
NotificationFilter filter,
Object o)
Add notification listener. |
void |
removeNotificationListener(ObjectName name,
NotificationListener listener)
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(MBeanServerConnection connection)
connection
- the remote MBean serverMethod Detail |
---|
public void addNotificationListener(ObjectName name, NotificationListener listener, NotificationFilter filter, Object o) throws InstanceNotFoundException, RemoteException
addNotificationListener
in interface ListenerRegistration
name
- identifies the emitter MBeanlistener
- the listener to addfilter
- the associated filtero
- the associated handback object
InstanceNotFoundException
- emitter MBean not registered in the MBeanServer
RemoteException
- operation failedpublic void removeNotificationListener(ObjectName name, NotificationListener listener) throws InstanceNotFoundException, ListenerNotFoundException, RemoteException
removeNotificationListener
in interface ListenerRegistration
name
- identifies the emitter MBeanlistener
- 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 |