|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.rmi.activation.ActivationID
public class ActivationID
Denotes the object that can be activated over time. The instance of the ActivationID for the given object can be obtained in the following ways:
Activatable.register(ActivationDesc)UID as its component and
hence is globally unique.
| Constructor Summary | |
|---|---|
ActivationID(Activator an_activator)
Create a new instance with the given activator. |
|
| Method Summary | |
|---|---|
Remote |
activate(boolean force)
Activate the object. |
boolean |
equals(Object obj)
Compares the activators for equality. |
int |
hashCode()
Returns the hash code of the activator. |
String |
toString()
Return the content based string representation. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ActivationID(Activator an_activator)
an_activator - tha activator that should activate the object.| Method Detail |
|---|
public Remote activate(boolean force)
throws ActivationException,
UnknownObjectException,
RemoteException
force - if true, always contact the group. Otherwise, the cached value
may be returned.
UnknownObjectException - if the object is unknown
ActivationException - if the activation has failed
RemoteException - if the remote call has failedpublic int hashCode()
hashCode in class ObjectObject.equals(Object),
System.identityHashCode(Object)public boolean equals(Object obj)
equals in class Objectobj - the Object to compare to
Object.hashCode()public String toString()
toString in class ObjectObject.getClass(),
Object.hashCode(),
Class.getName(),
Integer.toHexString(int)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||