Uses of Class
java.rmi.activation.ActivationID
-
Packages that use 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 and Description static ActivationID
Activatable. 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 ActivationID
Activatable. 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 ActivationID
Activatable. getID()
Returns the object's activation identifier.ActivationID
ActivationSystem. registerObject(ActivationDesc desc)
TheregisterObject
method 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 and Description MarshalledObject<? extends Remote>
Activator. activate(ActivationID id, boolean force)
Activate the object associated with the activation identifier,id
.protected void
ActivationGroup. activeObject(ActivationID id, MarshalledObject<? extends Remote> mobj)
This protected method is necessary for subclasses to make theactiveObject
callback to the group's monitor.void
ActivationMonitor. activeObject(ActivationID id, MarshalledObject<? extends Remote> obj)
Informs that an object is now active.abstract void
ActivationGroup. activeObject(ActivationID id, Remote obj)
The group'sactiveObject
method is called when an object is exported (either byActivatable
object construction or an explicit call toActivatable.exportObject
.static Remote
Activatable. 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 Remote
Activatable. 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.ActivationDesc
ActivationSystem. getActivationDesc(ActivationID id)
Returns the activation descriptor, for the object with the activation identifier,id
.static boolean
Activatable. inactive(ActivationID id)
Informs the system that the object with the corresponding activationid
is currently inactive.boolean
ActivationGroup. inactiveObject(ActivationID id)
The group'sinactiveObject
method is called indirectly via a call to theActivatable.inactive
method.void
ActivationMonitor. inactiveObject(ActivationID id)
An activation group calls its monitor'sinactiveObject
method when an object in its group becomes inactive (deactivates).MarshalledObject
ActivationGroup_Stub. newInstance(ActivationID id, ActivationDesc desc)
Stub method forActivationGroup.newInstance
.MarshalledObject<? extends Remote>
ActivationInstantiator. newInstance(ActivationID id, ActivationDesc desc)
The activator calls an instantiator'snewInstance
method in order to recreate in that group an object with the activation identifier,id
, and descriptor,desc
.ActivationDesc
ActivationSystem. setActivationDesc(ActivationID id, ActivationDesc desc)
Set the activation descriptor,desc
for the object with the activation identifier,id
.static void
Activatable. unregister(ActivationID id)
Revokes previous registration for the activation descriptor associated withid
.void
ActivationSystem. 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 and 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.
-
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.