| Package | Description |
|---|---|
| java.rmi.activation |
Provides support for RMI Object Activation.
|
| Modifier and Type | Method and Description |
|---|---|
static ActivationID |
Activatable.exportObject(Remote
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
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
The
registerObject method is used to register an activation descriptor,
desc, and obtain an activation identifier for a activatable remote object.
|
| Modifier and Type | Method and Description |
|---|---|
MarshalledObject |
Activator.activate(ActivationID
Activate the object associated with the activation identifier,
id.
|
void |
ActivationMonitor.activeObject(ActivationID
Informs that an object is now active.
|
protected void |
ActivationGroup.activeObject(ActivationID
This protected method is necessary for subclasses to make the
activeObject callback to the group's monitor.
|
abstract void |
ActivationGroup.activeObject(ActivationID
The group's
activeObject method is called when an object is exported (either by
Activatable object construction or an explicit call to
Activatable.exportObject.
|
static Remote |
Activatable.exportObject(Remote
Export the activatable remote object to the RMI runtime to make the object available to receive incoming calls.
|
static Remote |
Activatable.exportObject(Remote
Export the activatable remote object to the RMI runtime to make the object available to receive incoming calls.
|
ActivationDesc |
ActivationSystem.getActivationDesc(ActivationID
Returns the activation descriptor, for the object with the activation identifier,
id.
|
static boolean |
Activatable.inactive(ActivationID
Informs the system that the object with the corresponding activation
id is currently inactive.
|
void |
ActivationMonitor.inactiveObject(ActivationID
An activation group calls its monitor's
inactiveObject method when an object in its group becomes inactive (deactivates).
|
boolean |
ActivationGroup.inactiveObject(ActivationID
The group's
inactiveObject method is called indirectly via a call to the
Activatable.inactive method.
|
MarshalledObject |
ActivationInstantiator.newInstance(ActivationID
The activator calls an instantiator's
newInstance method in order to recreate in that group an object with the activation identifier,
id, and descriptor,
desc.
|
ActivationDesc |
ActivationSystem.setActivationDesc(ActivationID
Set the activation descriptor,
desc for the object with the activation identifier,
id.
|
static void |
Activatable.unregister(ActivationID
Revokes previous registration for the activation descriptor associated with
id.
|
void |
ActivationSystem.unregisterObject(ActivationID
Remove the activation id and associated descriptor previously registered with the
ActivationSystem; the object can no longer be activated via the object's activation id.
|
| Constructor and Description | |
|---|---|
Activatable(ActivationID
Constructor used to activate/export the object on a specified port.
|
|
Activatable(ActivationID
Constructor used to activate/export the object on a specified port.
|