|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ActivationMonitor
The activation and inactivation event listener. The group obtains this
listener via 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.
Method Summary | |
---|---|
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. |
Method Detail |
---|
void activeObject(ActivationID id, MarshalledObject<? extends Remote> obj) throws UnknownObjectException, RemoteException
id
- the activation id of the object that is now active
UnknownObjectException
- is such object is not known in this group
RemoteException
- if remote call failsvoid inactiveObject(ActivationID id) throws UnknownObjectException, RemoteException
id
- the activation id of the object that is now inactive
UnknownObjectException
- is such object is not known in this group
RemoteException
- if remote call failsvoid inactiveGroup(ActivationGroupID groupId, long incarnation) throws UnknownGroupException, RemoteException
groupId
- the group idincarnation
- the group incarnation number
UnknownGroupException
- if the group id is not known
RemoteException
- if the remote call fails
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |