com.j_spaces.core.client
Interface INotifyDelegator

All Superinterfaces:
EventListener, com.gigaspaces.events.ManagedRemoteEventListener, Remote, RemoteEventListener

public interface INotifyDelegator
extends com.gigaspaces.events.ManagedRemoteEventListener

This is just a tag interface for the space to recognize the stub of the NotifyDelegator. This interface should be used when the entry is needed on notify.

 Example:
 
 class MyNotifyDelegator implements INotifyDelegator
 {
      public void notify(RemoteEvent event) 
      {
          EntryArrivedRemoteEvent arrivedRemoteEvent = (EntryArrivedRemoteEvent)event;
          MyEntry myEntry = arrivedRemoteEvent.getEntry();
          ...
      }
 }
 
 

See Also:
NotifyDelegator

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.gigaspaces.events.ManagedRemoteEventListener
com.gigaspaces.events.ManagedRemoteEventListener.Feature
 
Method Summary
 
Methods inherited from interface com.gigaspaces.events.ManagedRemoteEventListener
init, shutdown, supports
 
Methods inherited from interface net.jini.core.event.RemoteEventListener
notify