# Uses of Class
java.rmi.activation.ActivationException

Packages that use ActivationException
Package
Description
java.rmi.activation
Provides support for RMI Object Activation.

## Uses of ActivationException in java.rmi.activation

Subclasses of ActivationException in java.rmi.activation
Modifier and Type
Class
Description
`class`
`UnknownGroupException`
Deprecated, for removal: This API element is subject to removal in a future version.
See the `java.rmi.activation` package specification for further information.
`class`
`UnknownObjectException`
Deprecated, for removal: This API element is subject to removal in a future version.
See the `java.rmi.activation` package specification for further information.
Methods in java.rmi.activation that throw ActivationException
Modifier and Type
Method
Description
`Remote`
ActivationID.`activate​(boolean force)`
Deprecated, for removal: This API element is subject to removal in a future version.
Activate the object for this id.
`MarshalledObject<? extends Remote>`
Activator.`activate​(ActivationID id, boolean force)`
Deprecated, for removal: This API element is subject to removal in a future version.
Activate the object associated with the activation identifier, `id`.
`ActivationMonitor`
ActivationSystem.`activeGroup​(ActivationGroupID id, ActivationInstantiator group, long incarnation)`
Deprecated, for removal: This API element is subject to removal in a future version.
Callback to inform activation system that group is now active.
`protected void`
ActivationGroup.`activeObject​(ActivationID id, MarshalledObject<? extends Remote> mobj)`
Deprecated, for removal: This API element is subject to removal in a future version.
This protected method is necessary for subclasses to make the `activeObject` callback to the group's monitor.
`abstract void`
ActivationGroup.`activeObject​(ActivationID id, Remote obj)`
Deprecated, for removal: This API element is subject to removal in a future version.
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 ActivationGroup`
ActivationGroup.`createGroup​(ActivationGroupID id, ActivationGroupDesc desc, long incarnation)`
Deprecated, for removal: This API element is subject to removal in a future version.
Create and set the activation group for the current VM.
`static ActivationID`
Activatable.`exportObject​(Remote obj, String location, MarshalledObject<?> data, boolean restart, int port)`
Deprecated, for removal: This API element is subject to removal in a future version.
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)`
Deprecated, for removal: This API element is subject to removal in a future version.
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.
`ActivationDesc`
ActivationSystem.`getActivationDesc​(ActivationID id)`
Deprecated, for removal: This API element is subject to removal in a future version.
Returns the activation descriptor, for the object with the activation identifier, `id`.
`ActivationGroupDesc`
ActivationSystem.`getActivationGroupDesc​(ActivationGroupID id)`
Deprecated, for removal: This API element is subject to removal in a future version.
Returns the activation group descriptor, for the group with the activation group identifier, `id`.
`static ActivationSystem`
ActivationGroup.`getSystem()`
Deprecated, for removal: This API element is subject to removal in a future version.
Returns the activation system for the VM.
`static boolean`
Activatable.`inactive​(ActivationID id)`
Deprecated, for removal: This API element is subject to removal in a future version.
Informs the system that the object with the corresponding activation `id` is currently inactive.
`boolean`
ActivationGroup.`inactiveObject​(ActivationID id)`
Deprecated, for removal: This API element is subject to removal in a future version.
The group's `inactiveObject` method is called indirectly via a call to the `Activatable.inactive` method.
`MarshalledObject`
ActivationGroup_Stub.`newInstance​(ActivationID id, ActivationDesc desc)`
Deprecated, for removal: This API element is subject to removal in a future version.
Stub method for `ActivationGroup.newInstance`.
`MarshalledObject<? extends Remote>`
ActivationInstantiator.`newInstance​(ActivationID id, ActivationDesc desc)`
Deprecated, for removal: This API element is subject to removal in a future version.
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`.
`static Remote`
Activatable.`register​(ActivationDesc desc)`
Deprecated, for removal: This API element is subject to removal in a future version.
Register an object descriptor for an activatable remote object so that is can be activated on demand.
`ActivationGroupID`
ActivationSystem.`registerGroup​(ActivationGroupDesc desc)`
Deprecated, for removal: This API element is subject to removal in a future version.
Register the activation group.
`ActivationID`
ActivationSystem.`registerObject​(ActivationDesc desc)`
Deprecated, for removal: This API element is subject to removal in a future version.
The `registerObject` method is used to register an activation descriptor, `desc`, and obtain an activation identifier for a activatable remote object.
`ActivationDesc`
ActivationSystem.`setActivationDesc​(ActivationID id, ActivationDesc desc)`
Deprecated, for removal: This API element is subject to removal in a future version.
Set the activation descriptor, `desc` for the object with the activation identifier, `id`.
`ActivationGroupDesc`
ActivationSystem.`setActivationGroupDesc​(ActivationGroupID id, ActivationGroupDesc desc)`
Deprecated, for removal: This API element is subject to removal in a future version.
Set the activation group descriptor, `desc` for the object with the activation group identifier, `id`.
`static void`
ActivationGroup.`setSystem​(ActivationSystem system)`
Deprecated, for removal: This API element is subject to removal in a future version.
Set the activation system for the VM.
`static void`
Activatable.`unregister​(ActivationID id)`
Deprecated, for removal: This API element is subject to removal in a future version.
Revokes previous registration for the activation descriptor associated with `id`.
`void`
ActivationSystem.`unregisterGroup​(ActivationGroupID id)`
Deprecated, for removal: This API element is subject to removal in a future version.
Remove the activation group.
`void`
ActivationSystem.`unregisterObject​(ActivationID id)`
Deprecated, for removal: This API element is subject to removal in a future version.
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.
Constructors in java.rmi.activation that throw ActivationException
Modifier
Constructor
Description
`protected`
`Activatable​(String location, MarshalledObject<?> data, boolean restart, int port)`
Deprecated, for removal: This API element is subject to removal in a future version.
Constructs an activatable remote object by registering an activation descriptor (with the specified location, data, and restart mode) for this object, and exporting the object with the specified port.
`protected`
`Activatable​(String location, MarshalledObject<?> data, boolean restart, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf)`
Deprecated, for removal: This API element is subject to removal in a future version.
Constructs an activatable remote object by registering an activation descriptor (with the specified location, data, and restart mode) for this object, and exporting the object with the specified port, and specified client and server socket factories.
``
`ActivationDesc​(String className, String location, MarshalledObject<?> data)`
Deprecated, for removal: This API element is subject to removal in a future version.
Constructs an object descriptor for an object whose class name is `className`, that can be loaded from the code `location` and whose initialization information is `data`.
``
`ActivationDesc​(String className, String location, MarshalledObject<?> data, boolean restart)`
Deprecated, for removal: This API element is subject to removal in a future version.
Constructs an object descriptor for an object whose class name is `className`, that can be loaded from the code `location` and whose initialization information is `data`.