The
registerObject
method is used to register an
activation descriptor,
desc
, and obtain an
activation identifier for a activatable remote object.
The
registerObject
method is used to register an
activation descriptor,
desc
, and obtain an
activation identifier for a activatable remote object. The
ActivationSystem
creates an
ActivationID
(a activation identifier) for the
object specified by the descriptor,
desc
, and
records, in stable storage, the activation descriptor and its
associated identifier for later use. When the
Activator
receives an
activate
request for a specific identifier, it
looks up the activation descriptor (registered previously) for
the specified identifier and uses that information to activate
the object.
Returns:
the activation id that can be used to activate the object
Parameters:
- desc - the object's activation descriptor
Throws:
- ActivationException - if registration fails (e.g., database
update failure, etc).
- UnknownGroupException - if group referred to in
desc
is not registered with this system
- RemoteException - if remote call fails
Since:
1.2