org.glassfish.admin.mejb
Class EventListenerProxy
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
org.glassfish.admin.mejb.EventListenerProxy
- All Implemented Interfaces:
- Serializable, Remote, RemoteEventListener
public class EventListenerProxy
- extends UnicastRemoteObject
- implements RemoteEventListener
The EventListenerProxy recieves notifications from RemoteListenerConnectors
registered on the server managed objects and forwards them to the corresponding
local listeners
- Author:
- Hans Hrasna
- See Also:
- Serialized Form
EventListenerProxy
public EventListenerProxy()
throws RemoteException
- Throws:
RemoteException
getEventListenerProxy
public static EventListenerProxy getEventListenerProxy()
handleNotification
public void handleNotification(Notification n,
Object h)
throws RemoteException
- Specified by:
handleNotification in interface RemoteEventListener
- Throws:
RemoteException
getProxyAddress
public String getProxyAddress()
addListener
public void addListener(String id,
NotificationListener l,
Object handback)
removeListener
public void removeListener(String id)
throws ListenerNotFoundException
- Throws:
ListenerNotFoundException
Copyright © 2012 GlassFish Community. All Rights Reserved.