|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RemoteContextListenerInterface
A remoteInterface for the ContextListener.
(c) copyright 2002-2005 Delft
University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl
License of use: Lesser
General Public License (LGPL) , no warranty.
Method Summary | |
---|---|
void |
namingExceptionThrown(NamingExceptionEvent evt)
Called when a naming exception is thrown while attempting to fire a NamingEvent. |
void |
objectAdded(NamingEvent evt)
Called when an object has been added. |
void |
objectChanged(NamingEvent evt)
Called when an object has been changed. |
void |
objectRemoved(NamingEvent evt)
Called when an object has been removed. |
void |
objectRenamed(NamingEvent evt)
Called when an object has been renamed. |
Method Detail |
---|
void objectAdded(NamingEvent evt) throws RemoteException
The binding of the newly added object can be obtained using evt.getNewBinding().
evt
- The nonnull event.
RemoteException
- on network failureNamingEvent.OBJECT_ADDED
void objectRemoved(NamingEvent evt) throws RemoteException
The binding of the newly removed object can be obtained using evt.getOldBinding().
evt
- The nonnull event.
RemoteException
- on network failureNamingEvent.OBJECT_REMOVED
void objectRenamed(NamingEvent evt) throws RemoteException
The 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.
evt
- The nonnull event.
RemoteException
- on network failureNamingEvent.OBJECT_RENAMED
void objectChanged(NamingEvent evt) throws RemoteException
The binding of the changed object can be obtained using evt.getNewBinding(). Its old binding (before the change) can be obtained using evt.getOldBinding().
evt
- The nonnull naming event.
RemoteException
- on network failure.NamingEvent.OBJECT_CHANGED
void namingExceptionThrown(NamingExceptionEvent evt) throws RemoteException
evt
- The nonnull event.
RemoteException
- on network exception
RemoteException
- on network failure
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |