nl.tudelft.simulation.naming.listener
Class RemoteContextListener_Stub

java.lang.Object
  extended byjava.rmi.server.RemoteObject
      extended byjava.rmi.server.RemoteStub
          extended bynl.tudelft.simulation.naming.listener.RemoteContextListener_Stub
All Implemented Interfaces:
java.rmi.Remote, RemoteContextListenerInterface, java.io.Serializable

public final class RemoteContextListener_Stub
extends java.rmi.server.RemoteStub
implements RemoteContextListenerInterface, java.rmi.Remote

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
RemoteContextListener_Stub()
           
RemoteContextListener_Stub(java.rmi.server.RemoteRef ref)
           
 
Method Summary
 void namingExceptionThrown(javax.naming.event.NamingExceptionEvent $param_NamingExceptionEvent_1)
          Called when a naming exception is thrown while attempting to fire a NamingEvent.
 void objectAdded(javax.naming.event.NamingEvent $param_NamingEvent_1)
          Called when an object has been added.
 void objectChanged(javax.naming.event.NamingEvent $param_NamingEvent_1)
          Called when an object has been changed.
 void objectRemoved(javax.naming.event.NamingEvent $param_NamingEvent_1)
          Called when an object has been removed.
 void objectRenamed(javax.naming.event.NamingEvent $param_NamingEvent_1)
          Called when an object has been renamed.
 
Methods inherited from class java.rmi.server.RemoteStub
setRef
 
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RemoteContextListener_Stub

public RemoteContextListener_Stub()

RemoteContextListener_Stub

public RemoteContextListener_Stub(java.rmi.server.RemoteRef ref)
Method Detail

namingExceptionThrown

public void namingExceptionThrown(javax.naming.event.NamingExceptionEvent $param_NamingExceptionEvent_1)
                           throws java.rmi.RemoteException
Description copied from interface: RemoteContextListenerInterface
Called when a naming exception is thrown while attempting to fire a NamingEvent.

Specified by:
namingExceptionThrown in interface RemoteContextListenerInterface
Parameters:
$param_NamingExceptionEvent_1 - The nonnull event.
Throws:
java.rmi.RemoteException - on network exception

objectAdded

public void objectAdded(javax.naming.event.NamingEvent $param_NamingEvent_1)
                 throws java.rmi.RemoteException
Description copied from interface: RemoteContextListenerInterface
Called when an object has been added.

The binding of the newly added object can be obtained using evt.getNewBinding().

Specified by:
objectAdded in interface RemoteContextListenerInterface
Parameters:
$param_NamingEvent_1 - The nonnull event.
Throws:
java.rmi.RemoteException - on network failure
See Also:
NamingEvent.OBJECT_ADDED

objectChanged

public void objectChanged(javax.naming.event.NamingEvent $param_NamingEvent_1)
                   throws java.rmi.RemoteException
Description copied from interface: RemoteContextListenerInterface
Called when an object has been changed.

The binding of the changed object can be obtained using evt.getNewBinding(). Its old binding (before the change) can be obtained using evt.getOldBinding().

Specified by:
objectChanged in interface RemoteContextListenerInterface
Parameters:
$param_NamingEvent_1 - The nonnull naming event.
Throws:
java.rmi.RemoteException - on network failure.
See Also:
NamingEvent.OBJECT_CHANGED

objectRemoved

public void objectRemoved(javax.naming.event.NamingEvent $param_NamingEvent_1)
                   throws java.rmi.RemoteException
Description copied from interface: RemoteContextListenerInterface
Called when an object has been removed.

The binding of the newly removed object can be obtained using evt.getOldBinding().

Specified by:
objectRemoved in interface RemoteContextListenerInterface
Parameters:
$param_NamingEvent_1 - The nonnull event.
Throws:
java.rmi.RemoteException - on network failure
See Also:
NamingEvent.OBJECT_REMOVED

objectRenamed

public void objectRenamed(javax.naming.event.NamingEvent $param_NamingEvent_1)
                   throws java.rmi.RemoteException
Description copied from interface: RemoteContextListenerInterface
Called when an object has been renamed.

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.

Specified by:
objectRenamed in interface RemoteContextListenerInterface
Parameters:
$param_NamingEvent_1 - The nonnull event.
Throws:
java.rmi.RemoteException - on network failure
See Also:
NamingEvent.OBJECT_RENAMED


Copyright © 2002-2004 Delft University of Technology, the Netherlands. All Rights Reserved.