GigaSpaces XAP 7.0 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 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.


remove

void remove(SpaceAddedEventListener eventListener)
Removes an event listener.


GigaSpaces XAP 7.0 API

Copyright © GigaSpaces.