Uses of Class
java.rmi.activation.ActivationID
| Package | Description |
|---|---|
| java.rmi.activation |
Provides support for RMI Object Activation.
|
-
Uses of ActivationID in java.rmi.activation
Methods in java.rmi.activation that return ActivationID Modifier and Type Method Description static ActivationIDActivatable. exportObject(Remote obj, String location, MarshalledObject<?> data, boolean restart, int port)Registers an activation descriptor (with the specified location, data, and restart mode) for the specified object, and exports that object with the specified port.static ActivationIDActivatable. exportObject(Remote obj, String location, MarshalledObject<?> data, boolean restart, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf)Registers an activation descriptor (with the specified location, data, and restart mode) for the specified object, and exports that object with the specified port, and the specified client and server socket factories.protected ActivationIDActivatable. getID()Returns the object's activation identifier.ActivationIDActivationSystem. registerObject(ActivationDesc desc)TheregisterObjectmethod is used to register an activation descriptor,desc, and obtain an activation identifier for a activatable remote object.Methods in java.rmi.activation with parameters of type ActivationID Modifier and Type Method Description MarshalledObject<? extends Remote>Activator. activate(ActivationID id, boolean force)Activate the object associated with the activation identifier,id.protected voidActivationGroup. activeObject(ActivationID id, MarshalledObject<? extends Remote> mobj)This protected method is necessary for subclasses to make theactiveObjectcallback to the group's monitor.abstract voidActivationGroup. activeObject(ActivationID id, Remote obj)The group'sactiveObjectmethod is called when an object is exported (either byActivatableobject construction or an explicit call toActivatable.exportObject.voidActivationMonitor. activeObject(ActivationID id, MarshalledObject<? extends Remote> obj)Informs that an object is now active.static RemoteActivatable. exportObject(Remote obj, ActivationID id, int port)Export the activatable remote object to the RMI runtime to make the object available to receive incoming calls.static RemoteActivatable. exportObject(Remote obj, ActivationID id, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf)Export the activatable remote object to the RMI runtime to make the object available to receive incoming calls.ActivationDescActivationSystem. getActivationDesc(ActivationID id)Returns the activation descriptor, for the object with the activation identifier,id.static booleanActivatable. inactive(ActivationID id)Informs the system that the object with the corresponding activationidis currently inactive.booleanActivationGroup. inactiveObject(ActivationID id)The group'sinactiveObjectmethod is called indirectly via a call to theActivatable.inactivemethod.voidActivationMonitor. inactiveObject(ActivationID id)An activation group calls its monitor'sinactiveObjectmethod when an object in its group becomes inactive (deactivates).MarshalledObjectActivationGroup_Stub. newInstance(ActivationID id, ActivationDesc desc)Stub method forActivationGroup.newInstance.MarshalledObject<? extends Remote>ActivationInstantiator. newInstance(ActivationID id, ActivationDesc desc)The activator calls an instantiator'snewInstancemethod in order to recreate in that group an object with the activation identifier,id, and descriptor,desc.ActivationDescActivationSystem. setActivationDesc(ActivationID id, ActivationDesc desc)Set the activation descriptor,descfor the object with the activation identifier,id.static voidActivatable. unregister(ActivationID id)Revokes previous registration for the activation descriptor associated withid.voidActivationSystem. unregisterObject(ActivationID id)Remove the activation id and associated descriptor previously registered with theActivationSystem; the object can no longer be activated via the object's activation id.Constructors in java.rmi.activation with parameters of type ActivationID Constructor Description Activatable(ActivationID id, int port)Constructor used to activate/export the object on a specified port.Activatable(ActivationID id, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf)Constructor used to activate/export the object on a specified port.