Name
Activator
Synopsis
An Activator
is responsible for activating remote objects and their
groups. Its only method, activate()
, triggers the activation system
protocol. The activator first finds the ActivationDesc
matching the
given ActivationID
, and checks the activation information contained in
it. If the target group for the object is not active, then the
Activator
starts its Java VM and activates the group object
itself. Finally, the Activator
tells the group to (re)create the
object by calling the newInstance()
method on the group.
public interface Activator extends Remote { // Public Instance Methods public abstract MarshalledObject activate(ActivationID id, boolean force) throws ActivationException, UnknownObjectException, RemoteException; }
Passed To
ActivationID.ActivationID()
Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.