public interface Activator extends java.rmi.Remote
ActivationSystem,
ActivationMonitor| Modifier and Type | Method and Description |
|---|---|
java.rmi.MarshalledObject<? extends java.rmi.Remote> |
activate(ActivationID id,
boolean force)
Activate the object, associated with the given activation identifier.
|
java.rmi.MarshalledObject<? extends java.rmi.Remote> activate(ActivationID id, boolean force) throws ActivationException, UnknownObjectException, java.rmi.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 reasonjava.rmi.RemoteException - if the remote call has failed.