public interface Activator extends Remote
ActivationSystem,
ActivationMonitor| Modifier and Type | Method and Description |
|---|---|
MarshalledObject<? extends Remote> |
activate(ActivationID id,
boolean force)
Activate the object, associated with the given activation identifier.
|
MarshalledObject<? extends Remote> activate(ActivationID id, boolean force) throws ActivationException, UnknownObjectException, RemoteException
ActivationDescriptor for the passed
identifier, determines the object activation group and initiates object
recreation either via ActivationInstantiator or via
Class.newInstance().id - the identifier of the object to activate.force - if true, the activator always contacts the group to obtain the
reference. If false, it may return the cached value.UnknownObjectException - if the object with this id is unknownActivationException - if the activation has failed due other reasonRemoteException - if the remote call has failed.