| java.lang.Object java.rmi.server.RemoteObject java.rmi.server.RemoteServer org.apache.harmony.rmi.activation.Rmid
Rmid | public class Rmid extends RemoteServer implements ActivationSystem,ActivationMonitor,Activator,RmidMBean(Code) | | Represents rmid - RMI Activation Daemon. Implements
all 3 remote interfaces that are essential for Activation:
ActivationSystem , ActivationMonitor
and Activator . This is done to avoid
the multiplication of references pointing to Hashtables that keep
information about ActivationGroupIDs and ActivationIDs and their
mappings to ActivationGroupDescriptors and ActivationDescriptors.
RMID is partially crash proof, which means it saves its state into two
files: snapshot.rmid and delta.rmid. snapshot.rmid contains the
snapshot of the structure that contains information about Activation
Groups and Activatable Objects registered in this RMID and delta.rmid
reflects the changes occurred since last snapshot.
The objects that are saved in Snapshot:
- ActivationID: UID uid, String refType, UnicastRef2 RemoteRef
- ActivationDesc: ActivationGroupID groupID, String className, String
location, MarshalledObject data, boolean restart
- ActivationGroupID: ActivationSystem system, UID uid
- ActivationGroupDesc: String className, String location,
MarshalledObject data, ActivationGroupDesc.CommandEnvironment env,
Properties props
author: Victor A. Martynov version: $Revision: 1.1.2.8 $ |
commonDebugLevel | public static Level commonDebugLevel(Code) | | The log level of the general debugging information.
|
groupIDByActivationID | public static Hashtable groupIDByActivationID(Code) | | Mapping from ActivationID to its ActivationGroupID.
|
groupInfoByGroupId | static Hashtable groupInfoByGroupId(Code) | | Mapping from ActivationGroupID to ActivationGroupInfo.
|
shutdown | public void shutdown()(Code) | | |
unregisterObject | public void unregisterObject(ActivationID aID)(Code) | | Parameters: aID - the ActivationID of the object that should be removed. |
|
|