public class ActivationID extends Object implements Serializable
ActivationID) contains several pieces of information needed for activating an object:
UIDinstance) for the object.
An activation identifier for an object can be obtained by registering an object with the activation system. Registration is accomplished in a few ways:
Activatableconstructor (that takes three arguments and both registers and exports the object, and
Activatable.exportObjectmethod that takes the activation descriptor, object and port as arguments; this method both registers and exports the object.
|Constructor and Description|
The constructor for
|Modifier and Type||Method and Description|
Activate the object for this id.
Compares two activation ids for content equality.
Returns a hashcode for the activation id.
public ActivationID(Activator activator)
ActivationIDtakes a single argument, activator, that specifies a remote reference to the activator responsible for activating the object associated with this identifier. An instance of
ActivationIDis globally unique.
activator- reference to the activator responsible for activating the object
public Remote activate(boolean force) throws ActivationException, UnknownObjectException, RemoteException
force- if true, forces the activator to contact the group when activating the object (instead of returning a cached reference); if false, returning a cached value is acceptable.
ActivationException- if activation fails
UnknownObjectException- if the object is unknown
RemoteException- if remote call fails
public int hashCode()
public boolean equals(Object obj)
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2015, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.