GigaSpaces XAP 10.0.1 API

org.openspaces.admin.space.events
Interface SpaceAddedEventManager


public interface SpaceAddedEventManager

An event manager allowing to add and remove SpaceAddedEventListeners.

A Space is added when its first SpaceInstance is discovered. It is removed when there are no SpaceInstances.

Author:
kimchy
See Also:
Spaces.getSpaceAdded(), Spaces.addLifecycleListener(SpaceLifecycleEventListener)

Method Summary
 void add(SpaceAddedEventListener eventListener)
          Adds an event listener.
 void add(SpaceAddedEventListener eventListener, boolean includeExisting)
          Adds an event listener allowing to control using the includeExisting if events will be fired for existing spaces as well.
 void remove(SpaceAddedEventListener eventListener)
          Removes an event listener.
 

Method Detail

add

void add(SpaceAddedEventListener eventListener)
Adds an event listener. Note, the event will also be called for all currently discovered Spaces.


add

void add(SpaceAddedEventListener eventListener,
         boolean includeExisting)
Adds an event listener allowing to control using the includeExisting if events will be fired for existing spaces as well.


remove

void remove(SpaceAddedEventListener eventListener)
Removes an event listener.


GigaSpaces XAP 10.0.1 API

Copyright © GigaSpaces.