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:
- java.io.Serializable, java.rmi.Remote, RemoteEventListener
public class EventListenerProxy
- extends java.rmi.server.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
| Fields inherited from class java.rmi.server.RemoteObject |
ref |
| Methods inherited from class java.rmi.server.UnicastRemoteObject |
clone, exportObject, exportObject, exportObject, unexportObject |
| Methods inherited from class java.rmi.server.RemoteServer |
getClientHost, getLog, setLog |
| Methods inherited from class java.rmi.server.RemoteObject |
equals, getRef, hashCode, toString, toStub |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
EventListenerProxy
public EventListenerProxy()
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
getEventListenerProxy
public static EventListenerProxy getEventListenerProxy()
handleNotification
public void handleNotification(javax.management.Notification n,
java.lang.Object h)
throws java.rmi.RemoteException
- Specified by:
handleNotification in interface RemoteEventListener
- Throws:
java.rmi.RemoteException
getProxyAddress
public java.lang.String getProxyAddress()
addListener
public void addListener(java.lang.String id,
javax.management.NotificationListener l,
java.lang.Object handback)
removeListener
public void removeListener(java.lang.String id)
throws javax.management.ListenerNotFoundException
- Throws:
javax.management.ListenerNotFoundException
Copyright © 2012 GlassFish Community. All Rights Reserved.