| Modifier and type | Property and description |
|---|---|
| OpenEventSpace | defaultSpace |
| java.util.UUID | iD |
| protected java.util.concurrent.locks.ReadWriteLock | lock
Replies the lock to be used. |
| ConcurrentCollection<T> | spaces |
| Constructor and description |
|---|
| new(UUID,UUID,Agent,Provider<T>,Provider<T>,LoggingService,SpaceRepositoryListenerFactory)
Constructs a Context. |
| Modifier and type | Action and description |
|---|---|
| void | addSpaceRepositoryListener(SpaceRepositoryListener)
Add listener on the space repository changes. |
| S | createSpace(Class<T>,UUID,Object*) |
| void | destroy
Destroy any associated resources. |
| protected SpaceRepository | ensureRepository([Procedure1<Param>])
Replies the space repository and creates it if it does not exist. |
| OpenEventSpace | getDefaultSpace |
| java.util.UUID | getID |
| protected java.util.concurrent.locks.ReadWriteLock | getLock
Replies the lock to be used. |
| S | getOrCreateSpaceWithID(Class<T>,UUID,Object*) |
| S | getOrCreateSpaceWithSpec(Class<T>,UUID,Object*) |
| S | getSpace(UUID) |
| ConcurrentCollection<T> | getSpaces |
| ConcurrentCollection<T> | getSpaces(Class<T>) |
| void | initialize
Initialize the context when it is published to the agents. |
| boolean | isRootContext |
| void | removeSpaceRepositoryListener(SpaceRepositoryListener)
Remove listener on the space repository changes. |
| void | toString(ToStringBuilder) |
val defaultSpace : OpenEventSpace
This property is an alias for the action: getDefaultSpace
val iD : java.util.UUID
This property is an alias for the action: getID
protected val lock : java.util.concurrent.locks.ReadWriteLock
This property is an alias for the action: getLock
val spaces : ConcurrentCollection<T>
This property is an alias for the action: getSpaces
new(UUID,UUID,Agent,Provider<T>,Provider<T>,LoggingService,SpaceRepositoryListenerFactory)
Context.
def addSpaceRepositoryListener(SpaceRepositoryListener)
def createSpace(Class<T>,UUID,Object*) : Swith S extends Space
def destroy
protected def ensureRepository([Procedure1<Param>]) : SpaceRepository
def getDefaultSpace : OpenEventSpace
def getID : java.util.UUID
protected def getLock : java.util.concurrent.locks.ReadWriteLock
def getOrCreateSpaceWithID(Class<T>,UUID,Object*) : Swith S extends Space
def getOrCreateSpaceWithSpec(Class<T>,UUID,Object*) : Swith S extends Space
def getSpace(UUID) : Swith S extends Space
def getSpaces : ConcurrentCollection<T>
def getSpaces(Class<T>) : ConcurrentCollection<T>with S extends Space
def initialize
def isRootContext : boolean
def removeSpaceRepositoryListener(SpaceRepositoryListener)
def toString(ToStringBuilder)