java.rmi.activation
Class ActivationGroupID

java.lang.Object
  extended by java.rmi.activation.ActivationGroupID
All Implemented Interfaces:
Serializable

public class ActivationGroupID
extends Object
implements Serializable

This identifier identifies the activation group inside the scope of its activation system. It also contains (and can provide) the reference to the groups activation system.

See Also:
ActivationSystem.registerGroup(ActivationGroupDesc), Serialized Form

Constructor Summary
ActivationGroupID(ActivationSystem aSystem)
          Create the new activation group id in the scope of the given activation system
 
Method Summary
 boolean equals(Object obj)
          Copmare for equality, returns true if the passed object is also the activation group id and its activation system is the same.
 ActivationSystem getSystem()
          Get the associated activation system
 int hashCode()
          Get the hash code of the associated activation system.
 String toString()
          Get the string representation
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ActivationGroupID

public ActivationGroupID(ActivationSystem aSystem)
Create the new activation group id in the scope of the given activation system

Parameters:
aSystem - the activation system
Method Detail

getSystem

public ActivationSystem getSystem()
Get the associated activation system

Returns:
the associated activation system

hashCode

public int hashCode()
Get the hash code of the associated activation system.

Overrides:
hashCode in class Object
Returns:
the hash code for this Object
See Also:
Object.equals(Object), System.identityHashCode(Object)

equals

public boolean equals(Object obj)
Copmare for equality, returns true if the passed object is also the activation group id and its activation system is the same.

Overrides:
equals in class Object
Parameters:
obj - the Object to compare to
Returns:
whether this Object is semantically equal to another
See Also:
Object.hashCode()

toString

public String toString()
Get the string representation

Overrides:
toString in class Object
Returns:
the String representing this Object, which may be null
See Also:
Object.getClass(), Object.hashCode(), Class.getName(), Integer.toHexString(int)