public class ActivationID extends java.lang.Object implements java.io.Serializable
Activatable.register(ActivationDesc)UID as its component and
hence is globally unique.| Constructor and Description |
|---|
ActivationID(Activator an_activator)
Create a new instance with the given activator.
|
| Modifier and Type | Method and Description |
|---|---|
java.rmi.Remote |
activate(boolean force)
Activate the object.
|
boolean |
equals(java.lang.Object obj)
Compares the activators for equality.
|
int |
hashCode()
Returns the hash code of the activator.
|
java.lang.String |
toString()
Return the content based string representation.
|
public ActivationID(Activator an_activator)
an_activator - tha activator that should activate the object.public java.rmi.Remote activate(boolean force) throws ActivationException, UnknownObjectException, java.rmi.RemoteException
force - if true, always contact the group. Otherwise, the cached value
may be returned.UnknownObjectException - if the object is unknownActivationException - if the activation has failedjava.rmi.RemoteException - if the remote call has failedpublic int hashCode()
hashCode in class java.lang.ObjectObject.equals(Object),
System.identityHashCode(Object)public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - the Object to compare toObject.hashCode()public java.lang.String toString()
toString in class java.lang.ObjectObject.getClass(),
Object.hashCode(),
Class.getName(),
Integer.toHexString(int)