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
. If this form of the constructor is used, the
groupID
defaults to the current id for
ActivationGroup
for this VM. All objects with the same
ActivationGroupID
are activated in the same VM.
Note that objects specified by a descriptor created with this constructor will only be activated on demand (by default, the restart mode is false
). If an activatable object requires restart services, use one of the ActivationDesc
constructors that takes a boolean parameter, restart
.
This constructor will throw ActivationException
if there is no current activation group for this VM. To create an ActivationGroup
use the ActivationGroup.createGroup
method.