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.
@param desc the object's activation descriptor
@return the activation id that can be used to activate the object
@exception ActivationException if registration fails (e.g., databaseupdate failure, etc).
@exception UnknownGroupException if group referred to indesc is not registered with this system
@exception RemoteException if remote call fails
@since 1.2