java.rmi.activation
Class ActivationGroupID

java.lang.Object sample code for java.lang.Object definition code for java.lang.Object 
  extended by java.rmi.activation.ActivationGroupID
All Implemented Interfaces:
Serializable sample code for java.io.Serializable definition code for java.io.Serializable

public class ActivationGroupID
extends Object sample code for java.lang.Object definition code for java.lang.Object
implements Serializable sample code for java.io.Serializable definition code for java.io.Serializable

The identifier for a registered activation group serves several purposes:

The ActivationGroupID is returned from the call to ActivationSystem.registerGroup and is used to identify the group within the activation system. This group id is passed as one of the arguments to the activation group's special constructor when an activation group is created/recreated.

Since:
1.2
See Also:
ActivationGroup sample code for java.rmi.activation.ActivationGroup definition code for java.rmi.activation.ActivationGroup , ActivationGroupDesc sample code for java.rmi.activation.ActivationGroupDesc definition code for java.rmi.activation.ActivationGroupDesc , Serialized Form

Constructor Summary
ActivationGroupID sample code for java.rmi.activation.ActivationGroupID.ActivationGroupID(java.rmi.activation.ActivationSystem) definition code for java.rmi.activation.ActivationGroupID.ActivationGroupID(java.rmi.activation.ActivationSystem) (ActivationSystem sample code for java.rmi.activation.ActivationSystem definition code for java.rmi.activation.ActivationSystem  system)
          Constructs a unique group id.
 
Method Summary
 boolean equals sample code for java.rmi.activation.ActivationGroupID.equals(java.lang.Object) definition code for java.rmi.activation.ActivationGroupID.equals(java.lang.Object) (Object sample code for java.lang.Object definition code for java.lang.Object  obj)
          Compares two group identifiers for content equality.
 ActivationSystem sample code for java.rmi.activation.ActivationSystem definition code for java.rmi.activation.ActivationSystem getSystem sample code for java.rmi.activation.ActivationGroupID.getSystem() definition code for java.rmi.activation.ActivationGroupID.getSystem() ()
          Returns the group's activation system.
 int hashCode sample code for java.rmi.activation.ActivationGroupID.hashCode() definition code for java.rmi.activation.ActivationGroupID.hashCode() ()
          Returns a hashcode for the group's identifier.
 
Methods inherited from class java.lang.Object sample code for java.lang.Object definition code for java.lang.Object
clone sample code for java.lang.Object.clone() definition code for java.lang.Object.clone() , finalize sample code for java.lang.Object.finalize() definition code for java.lang.Object.finalize() , getClass sample code for java.lang.Object.getClass() definition code for java.lang.Object.getClass() , notify sample code for java.lang.Object.notify() definition code for java.lang.Object.notify() , notifyAll sample code for java.lang.Object.notifyAll() definition code for java.lang.Object.notifyAll() , toString sample code for java.lang.Object.toString() definition code for java.lang.Object.toString() , wait sample code for java.lang.Object.wait() definition code for java.lang.Object.wait() , wait sample code for java.lang.Object.wait(long) definition code for java.lang.Object.wait(long) , wait sample code for java.lang.Object.wait(long, int) definition code for java.lang.Object.wait(long, int)
 

Constructor Detail

ActivationGroupID sample code for java.rmi.activation.ActivationGroupID(java.rmi.activation.ActivationSystem) definition code for java.rmi.activation.ActivationGroupID(java.rmi.activation.ActivationSystem)

public ActivationGroupID(ActivationSystem sample code for java.rmi.activation.ActivationSystem definition code for java.rmi.activation.ActivationSystem  system)
Constructs a unique group id.

Parameters:
system - the group's activation system
Since:
1.2
Method Detail

getSystem sample code for java.rmi.activation.ActivationGroupID.getSystem() definition code for java.rmi.activation.ActivationGroupID.getSystem()

public ActivationSystem sample code for java.rmi.activation.ActivationSystem definition code for java.rmi.activation.ActivationSystem  getSystem()
Returns the group's activation system.

Returns:
the group's activation system
Since:
1.2

hashCode sample code for java.rmi.activation.ActivationGroupID.hashCode() definition code for java.rmi.activation.ActivationGroupID.hashCode()

public int hashCode()
Returns a hashcode for the group's identifier. Two group identifiers that refer to the same remote group will have the same hash code.

Overrides:
hashCode sample code for java.lang.Object.hashCode() definition code for java.lang.Object.hashCode() in class Object sample code for java.lang.Object definition code for java.lang.Object
Returns:
a hash code value for this object.
Since:
1.2
See Also:
Hashtable sample code for java.util.Hashtable definition code for java.util.Hashtable

equals sample code for java.rmi.activation.ActivationGroupID.equals(java.lang.Object) definition code for java.rmi.activation.ActivationGroupID.equals(java.lang.Object)

public boolean equals(Object sample code for java.lang.Object definition code for java.lang.Object  obj)
Compares two group identifiers for content equality. Returns true if both of the following conditions are true: 1) the unique identifiers are equivalent (by content), and 2) the activation system specified in each refers to the same remote object.

Overrides:
equals sample code for java.lang.Object.equals(java.lang.Object) definition code for java.lang.Object.equals(java.lang.Object) in class Object sample code for java.lang.Object definition code for java.lang.Object
Parameters:
obj - the Object to compare with
Returns:
true if these Objects are equal; false otherwise.
Since:
1.2
See Also:
Hashtable sample code for java.util.Hashtable definition code for java.util.Hashtable