
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.

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. All objects with the same
groupID are activated in the same Java VM.
Parameters:
-
groupID - the group's identifier (obtained from registering
ActivationSystem.registerGroup method). The group
indicates the VM in which the object should be activated.
-
className - the object's fully package-qualified class name
-
location - the object's code location (from where the class is
loaded)
-
data - the object's initialization (activation) data contained
in marshalled form.
-
restart - if true, the object is restarted (reactivated) when
either the activator is restarted or the object's activation group
is restarted after an unexpected crash; if false, the object is only
activated on demand. Specifying
restart to be
true does not force an initial immediate activation of
a newly registered object; initial activation is lazy.
Throws:
-
IllegalArgumentException - if
groupID is null
Since:
1.2