java.rmi.activation

Class ActivationID

public class ActivationID extends Object implements Serializable

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: An instance of the ActivationID has the {@link 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
Remoteactivate(boolean force)
Activate the object.
booleanequals(Object obj)
Compares the activators for equality.
inthashCode()
Returns the hash code of the activator.
StringtoString()
Return the content based string representation.

Constructor Detail

ActivationID

public ActivationID(Activator an_activator)
Create a new instance with the given activator.

Parameters: an_activator tha activator that should activate the object.

Method Detail

activate

public Remote activate(boolean force)
Activate the object.

Parameters: force if true, always contact the group. Otherwise, the cached value may be returned.

Returns: the activated object

Throws: UnknownObjectException if the object is unknown ActivationException if the activation has failed RemoteException if the remote call has failed

equals

public boolean equals(Object obj)
Compares the activators for equality.

hashCode

public int hashCode()
Returns the hash code of the activator.

toString

public String toString()
Return the content based string representation.