Methods Summary |
---|
public ActivationMonitor | activeGroup(ActivationGroupID id, ActivationInstantiator group, long incarnation)Callback to inform activation system that group is now
active. This call is made internally by the
ActivationGroup.createGroup method to inform
the ActivationSystem that the group is now
active.
|
public ActivationDesc | getActivationDesc(ActivationID id)Returns the activation descriptor, for the object with the activation
identifier, id .
|
public ActivationGroupDesc | getActivationGroupDesc(ActivationGroupID id)Returns the activation group descriptor, for the group
with the activation group identifier, id .
|
public ActivationGroupID | registerGroup(ActivationGroupDesc desc)Register the activation group. An activation group must be
registered with the ActivationSystem before objects
can be registered within that group.
|
public ActivationID | registerObject(ActivationDesc desc)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.
|
public ActivationDesc | setActivationDesc(ActivationID id, ActivationDesc desc)Set the activation descriptor, desc for the object with
the activation identifier, id . The change will take
effect upon subsequent activation of the object.
|
public ActivationGroupDesc | setActivationGroupDesc(ActivationGroupID id, ActivationGroupDesc desc)Set the activation group descriptor, desc for the object
with the activation group identifier, id . The change will
take effect upon subsequent activation of the group.
|
public void | shutdown()Shutdown the activation system. Destroys all groups spawned by
the activation daemon and exits the activation daemon.
|
public void | unregisterGroup(ActivationGroupID id)Remove the activation group. An activation group makes this call back
to inform the activator that the group should be removed (destroyed).
If this call completes successfully, objects can no longer be
registered or activated within the group. All information of the
group and its associated objects is removed from the system.
|
public void | unregisterObject(ActivationID id)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.
|