public class AGRSpace
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected MAGRSpaceInstance |
config
The config.
|
protected IExternalAccess |
exta
The external access.
|
protected java.util.Map<java.lang.String,Group> |
groups
The groups.
|
Constructor and Description |
---|
AGRSpace(IExternalAccess exta,
MAGRSpaceInstance config) |
Modifier and Type | Method and Description |
---|---|
void |
addGroup(Group group)
Add a group to the space.
|
void |
componentAdded(IComponentDescription desc)
Called from application component, when a component was added.
|
void |
componentRemoved(IComponentDescription cid)
Called from application component, when a component was removed.
|
Group |
getGroup(java.lang.String name)
Get a group by name.
|
IFuture<java.lang.Void> |
init()
Initialize the extension.
|
IFuture<java.lang.Void> |
terminate()
Initialize the extension.
|
protected java.util.Map<java.lang.String,Group> groups
protected IExternalAccess exta
protected MAGRSpaceInstance config
public AGRSpace(IExternalAccess exta, MAGRSpaceInstance config)
public void addGroup(Group group)
group
- The group to add.public Group getGroup(java.lang.String name)
name
- The name of the group.public void componentAdded(IComponentDescription desc)
cid
- The id of the added component.public void componentRemoved(IComponentDescription cid)
cid
- The id of the removed component.public IFuture<java.lang.Void> init()
public IFuture<java.lang.Void> terminate()