|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.mx.notification.DefaultListenerRegistration
The default notification listener registration.
ListenerRegistry
,
ListenerRegistrationFactory
Constructor Summary | |
DefaultListenerRegistration(NotificationListener listener,
NotificationFilter filter,
Object handback)
Create a listener registration |
Method Summary | |
boolean |
equals(Object obj)
|
NotificationFilter |
getFilter()
Retrieve the filter for this registration. |
Object |
getHandback()
Retrieve the handback object for this registration. |
NotificationListener |
getListener()
Retrieve the listener for this registration. |
NotificationFilter |
getRegisteredFilter()
Retrieve the filter that was registered. |
NotificationListener |
getRegisteredListener()
Retrieve the listener that was registered. |
int |
hashCode()
|
void |
removed()
Used to tell the registration it is no longer required. |
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public DefaultListenerRegistration(NotificationListener listener, NotificationFilter filter, Object handback)
listener
- the notification listenerfilter
- the notification filterhandback
- the handback objectMethod Detail |
public NotificationListener getListener()
ListenerRegistration
getListener
in interface ListenerRegistration
public NotificationFilter getFilter()
ListenerRegistration
getFilter
in interface ListenerRegistration
public Object getHandback()
ListenerRegistration
getHandback
in interface ListenerRegistration
public NotificationListener getRegisteredListener()
ListenerRegistration
getRegisteredListener
in interface ListenerRegistration
public NotificationFilter getRegisteredFilter()
ListenerRegistration
getRegisteredFilter
in interface ListenerRegistration
public void removed()
ListenerRegistration
removed
in interface ListenerRegistration
public boolean equals(Object obj)
public int hashCode()
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |