is new.
The ActivationSystem provides a means for registering groups and "activatable" objects to be activated within those groups. The ActivationSystem works closely with the Activator, which activates objects registered via the ActivationSystem, and the ActivationMonitor, which obtains information about active and inactive objects, and inactive groups.
| Field Summary | |
|---|---|
| static int |
SYSTEM_PORT
The port to lookup the activation system. |
| Method Summary | |
|---|---|
| ActivationMonitor |
activeGroup
(
ActivationGroupID
id,
ActivationInstantiator
group, long incarnation) Callback to inform activation system that group is now active. |
| ActivationDesc |
getActivationDesc
(
ActivationID
id) Returns the activation descriptor, for the object with the activation identifier, id. |
| ActivationGroupDesc |
getActivationGroupDesc
(
ActivationGroupID
id) Returns the activation group descriptor, for the group with the activation group identifier, id. |
| ActivationGroupID |
registerGroup
(
ActivationGroupDesc
desc) Register the activation group. |
| ActivationID |
registerObject
(
ActivationDesc
desc) The registerObject method is used to register an activation descriptor, desc, and obtain an activation identifier for a activatable remote object. |
| ActivationDesc |
setActivationDesc
(
ActivationID
id,
ActivationDesc
desc) Set the activation descriptor, desc for the object with the activation identifier, id. |
| ActivationGroupDesc |
setActivationGroupDesc
(
ActivationGroupID
id,
ActivationGroupDesc
desc) Set the activation group descriptor, desc for the object with the activation group identifier, id. |
| void |
shutdown
() Shutdown the activation system. |
| void |
unregisterGroup
(
ActivationGroupID
id) Remove the activation group. |
| void |
unregisterObject
(
ActivationID
id) Remove the activation id and associated descriptor previously registered with the ActivationSystem; the object can no longer be activated via the object's activation id. |
| Field Detail |
|---|
static final int SYSTEM_PORT
| Method Detail |
|---|
ActivationID registerObject(ActivationDesc desc)
throws ActivationException,
UnknownGroupException,
RemoteException
void unregisterObject(ActivationID id)
throws ActivationException,
UnknownObjectException,
RemoteException
ActivationGroupID registerGroup(ActivationGroupDesc desc)
throws ActivationException,
RemoteException
ActivationMonitor activeGroup(ActivationGroupID id,
ActivationInstantiator group,
long incarnation)
throws UnknownGroupException,
ActivationException,
RemoteException
- if a group for the specified id is already active and that group is not equal to the specified group or that group has a different incarnation than the specified group
void unregisterGroup(ActivationGroupID id)
throws ActivationException,
UnknownGroupException,
RemoteException
void shutdown()
throws RemoteException
ActivationDesc setActivationDesc(ActivationID id,
ActivationDesc desc)
throws ActivationException,
UnknownObjectException,
UnknownGroupException,
RemoteException
ActivationGroupDesc setActivationGroupDesc(ActivationGroupID id,
ActivationGroupDesc desc)
throws ActivationException,
UnknownGroupException,
RemoteException
ActivationDesc getActivationDesc(ActivationID id)
throws ActivationException,
UnknownObjectException,
RemoteException
ActivationGroupDesc getActivationGroupDesc(ActivationGroupID id)
throws ActivationException,
UnknownGroupException,
RemoteException