All Packages  Class Hierarchy  This Package  Previous  Next  Index  

Class java.rmi.activation.ActivationGroupID

java.lang.Object
    |
    +----java.rmi.activation.ActivationGroupID

public class ActivationGroupID
extends Object
implements 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:
JDK1.2
See Also:
ActivationGroup, ActivationGroupDesc

Constructor Index

 o ActivationGroupID(ActivationSystem)
Constructs a unique group id.

Method Index

 o equals(Object)
Compares two group identifiers for content equality.
 o getSystem()
Returns the group's activation system.
 o hashCode()
Returns a hashcode for the group's identifier.

Constructors

 o ActivationGroupID
public ActivationGroupID(ActivationSystem system)
Constructs a unique group id.

Parameters:
system - the group's activation system

Methods

 o getSystem
public ActivationSystem getSystem()
Returns the group's activation system.

Returns:
the group's activation system
 o 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 in class Object
See Also:
Hashtable
 o equals
public boolean equals(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.

Parameters:
obj - the Object to compare with
Returns:
true if these Objects are equal; false otherwise.
Overrides:
equals in class Object
See Also:
Hashtable

All Packages  Class Hierarchy  This Package  Previous  Next  Index  

Submit a bug or feature