|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
nl.tudelft.simulation.naming.listener.RemoteContextListener
A RemoteContextListener.
(c) copyright 2003 Delft
University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl
License of use: General Public
License (GPL) , no warranty
| Field Summary |
| Fields inherited from class java.rmi.server.RemoteObject |
ref |
| Constructor Summary | |
RemoteContextListener(ContextListenerInterface listener)
constructs a new RemoteContextListener |
|
| Method Summary | |
void |
namingExceptionThrown(javax.naming.event.NamingExceptionEvent evt)
Called when a naming exception is thrown while attempting to fire a NamingEvent. |
void |
objectAdded(javax.naming.event.NamingEvent evt)
Called when an object has been added. |
void |
objectChanged(javax.naming.event.NamingEvent evt)
Called when an object has been changed. |
void |
objectRemoved(javax.naming.event.NamingEvent evt)
Called when an object has been removed. |
void |
objectRenamed(javax.naming.event.NamingEvent evt)
Called when an object has been renamed. |
| 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 |
| Constructor Detail |
public RemoteContextListener(ContextListenerInterface listener)
throws java.rmi.RemoteException
listener - the target.
java.rmi.RemoteException - on network failure.| Method Detail |
public void objectChanged(javax.naming.event.NamingEvent evt)
RemoteContextListenerInterfaceThe binding of the changed object can be obtained using evt.getNewBinding(). Its old binding (before the change) can be obtained using evt.getOldBinding().
objectChanged in interface RemoteContextListenerInterfaceevt - The nonnull naming event.#objectChanged(javax.naming.event.NamingEvent)public void objectAdded(javax.naming.event.NamingEvent evt)
RemoteContextListenerInterfaceThe binding of the newly added object can be obtained using evt.getNewBinding().
objectAdded in interface RemoteContextListenerInterfaceevt - The nonnull event.RemoteContextListenerInterface.objectAdded(javax.naming.event.NamingEvent)public void objectRemoved(javax.naming.event.NamingEvent evt)
RemoteContextListenerInterfaceThe binding of the newly removed object can be obtained using evt.getOldBinding().
objectRemoved in interface RemoteContextListenerInterfaceevt - The nonnull event.RemoteContextListenerInterface.objectRemoved(javax.naming.event.NamingEvent)public void objectRenamed(javax.naming.event.NamingEvent evt)
RemoteContextListenerInterfaceThe binding of the renamed object can be obtained using evt.getNewBinding(). Its old binding (before the rename) can be obtained using evt.getOldBinding(). One of these may be null if the old/new binding was outside the scope in which the listener has registered interest.
objectRenamed in interface RemoteContextListenerInterfaceevt - The nonnull event.RemoteContextListenerInterface.objectRenamed(javax.naming.event.NamingEvent)public void namingExceptionThrown(javax.naming.event.NamingExceptionEvent evt)
RemoteContextListenerInterface
namingExceptionThrown in interface RemoteContextListenerInterfaceevt - The nonnull event.#namingExceptionThrown(javax.naming.event.NamingExceptionEvent)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||