public interface ActivationMonitor extends Remote
ActivationSystem.activeGroup(java.rmi.activation.ActivationGroupID, java.rmi.activation.ActivationInstantiator, long)
and must notify it
when the group objects are activated or inactivated and also when the
whole group becomes inactive.Modifier and Type | Method and Description |
---|---|
void |
activeObject(ActivationID id,
MarshalledObject<? extends Remote> obj)
Informs that the object is now active.
|
void |
inactiveGroup(ActivationGroupID groupId,
long incarnation)
Informs that the whole group is now inactive because all group objects are
inactive.
|
void |
inactiveObject(ActivationID id)
Informs that the object is not inactive.
|
void activeObject(ActivationID id, MarshalledObject<? extends Remote> obj) throws UnknownObjectException, RemoteException
id
- the activation id of the object that is now activeUnknownObjectException
- is such object is not known in this groupRemoteException
- if remote call failsvoid inactiveObject(ActivationID id) throws UnknownObjectException, RemoteException
id
- the activation id of the object that is now inactiveUnknownObjectException
- is such object is not known in this groupRemoteException
- if remote call failsvoid inactiveGroup(ActivationGroupID groupId, long incarnation) throws UnknownGroupException, RemoteException
groupId
- the group idincarnation
- the group incarnation numberUnknownGroupException
- if the group id is not knownRemoteException
- if the remote call fails