|
|||||||||
| 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(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 server| Method Detail |
|---|
public void addNotificationListener(ObjectName name,
NotificationListener listener,
NotificationFilter filter,
Object o)
throws InstanceNotFoundException,
RemoteException
addNotificationListener in interface ListenerRegistrationname - 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 failed
public void removeNotificationListener(ObjectName name,
NotificationListener listener)
throws InstanceNotFoundException,
ListenerNotFoundException,
RemoteException
removeNotificationListener in interface ListenerRegistrationname - 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 | ||||||||