org.jboss.mx.remoting.rmi
Class ClientListenerHolder
java.lang.Object
org.jboss.mx.remoting.rmi.ClientListenerHolder
public class ClientListenerHolder
- extends Object
This is a holder for the listener and related information to
be stored on the client side for when notifications are received
from the server. This will help in making sure the correct information
is supplied back to original listener when calling to handle notifications.
- Author:
- Tom Elrod
ClientListenerHolder
public ClientListenerHolder(ObjectName objectName,
NotificationListener listener,
NotificationFilter filter,
Object handback)
hashCode
public int hashCode()
- returns the the hashcode based on target mbean, filter, and handback.
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Will check to see object passed is a ClientListenerHolder and
- Overrides:
equals
in class Object
getListener
public NotificationListener getListener()
getFilter
public NotificationFilter getFilter()
getHandback
public Object getHandback()
getObjectName
public ObjectName getObjectName()
setFilterOnClient
public void setFilterOnClient(boolean shouldFilterOnClient)
getFilterOnClient
public boolean getFilterOnClient()
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.