Name
ActivationSystem
Synopsis
The ActivationSystem
is the backbone of the activation runtime, and
interacts with Activators for activating objects and groups, and
ActivationMonitors
for determining when such activations are
necessary. The ActivationSystem
handling a particular Java VM can be
obtained using the static ActivationGroup.getSystem()
method.
The methods on the ActivationSystem
are largely used by other classes
in the activation package to implement various functions. The
Activatable.register()
method, for example, registers the activatable
object by calling the registerObject()
on the ActivationSystem
.
public interface ActivationSystem extends Remote { // Public Constants public static final int SYSTEM_PORT; //=1098 // Public Instance Methods public abstract ActivationMonitor activeGroup( ActivationGroupID id, ActivationInstantiator group, long incarnation) throws UnknownGroupExceptionActivationException, RemoteException; public abstract ActivationDesc getActivationDesc( ActivationID id) throws ActivationException, UnknownObjectException, RemoteException; public abstract ActivationGroupDesc getActivationGroupDesc( ActivationGroupID id) throws ActivationException, UnknownGroupException, RemoteException; public abstract ActivationGroupID registerGroup( ActivationGroupDesc desc) throws ActivationException, RemoteException; public abstract ActivationID registerObject( ActivationDesc ...
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.