|
|||||||||
| Home >> All >> java >> rmi >> [ activation overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.rmi.activation
Interface ActivationMonitor

- All Superinterfaces:
- java.rmi.Remote
- public interface ActivationMonitor
- extends java.rmi.Remote
The activation and inactivation event listener. The group obtains this
listener via ActivationSystem.activeGroup(java.rmi.activation.ActivationGroupID, java.rmi.activation.ActivationInstantiator, long) 55 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,
java.rmi.MarshalledObject 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 |
activeObject
public void activeObject(ActivationID id, java.rmi.MarshalledObject obj) throws UnknownObjectException, java.rmi.RemoteException
- Informs that the object is now active.
inactiveObject
public void inactiveObject(ActivationID id) throws UnknownObjectException, java.rmi.RemoteException
- Informs that the object is not inactive.
inactiveGroup
public void inactiveGroup(ActivationGroupID groupId, long incarnation) throws UnknownGroupException, java.rmi.RemoteException
- Informs that the whole group is now inactive because all group objects are
inactive. The group will be recreated upon the later request to activate
any object, belonging to the group.
|
|||||||||
| Home >> All >> java >> rmi >> [ activation overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC