Name
ActivationDesc
Synopsis
An ActivationDesc
represents a description for how a remote object
should be activated. It contains an activation group ID for the
object, the class name for the object to be instantiated, a codebase
that can be used to load the class description if necessary, and a
MarshalledObject
that contains object-specific initialization
data. Once an ActivationDesc
has been created, it can be used to
register an object for activation using the Activatable.register()
method.
public final class ActivationDesc implements Serializable { // Public Constructors public ActivationDesc(String className, String location, MarshalledObject data) throws ActivationException; public ActivationDesc(ActivationGroupID groupID, String className, String location, MarshalledObject data); public ActivationDesc(String className, String location, MarshalledObject data, boolean restart) throws ActivationException; public ActivationDesc(ActivationGroupID groupID, String className, String location, MarshalledObject data, boolean restart); // Property Accessor Methods (by property name) public String getClassName(); public MarshalledObject getData(); public ActivationGroupID getGroupID(); public String getLocation(); public boolean getRestartMode(); // Public Methods Overriding Object public boolean equals( Object obj); public int hashCode(); }
Passed To
Activatable.register()
, ActivationGroup_Stub.newInstance() ...
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.