io.sarl.sre.janus.services.context
Interface SpaceRepositoryListener
All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
SpaceEventEmitter
interface SpaceRepositoryListener
implements java.util.EventListener
Listener on events related to the space repository.
Maven Group Identifier:
io.sarl.sre.janus
Maven Artifact Identifier:
janus.kernel
Action Summary
Modifier and type Action and description
abstract void spaceCreated(Space,boolean)
Invoked when the space is added.
abstract void spaceDestroyed(Space,boolean)
Invoked when the space is destroyed.
Action Details
spaceCreated(Space,boolean)
def spaceCreated(Space,boolean)
Invoked when the space is added.
Parameters:
space - reference to the created space.
isLocalCreation - indicates if the creation of the space was initiated on the current kernel.
spaceDestroyed(Space,boolean)
def spaceDestroyed(Space,boolean)
Invoked when the space is destroyed.
Parameters:
space - reference to the destroyed space.
isLocalDestruction - indicates if the destruction of the space was initiated on the current kernel.