Java Platform 1.2
Beta 4

Class 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.

See Also:
ActivationGroup, ActivationGroupDesc, Serialized Form

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

Constructor Detail


public ActivationGroupID(ActivationSystem system)
Constructs a unique group id.
system - the group's activation system
Method Detail


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


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.
hashCode in class Object
See Also:


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.
obj - the Object to compare with
true if these Objects are equal; false otherwise.
equals in class Object
See Also:

Java Platform 1.2
Beta 4

Submit a bug or feature
Submit comments/suggestions about new javadoc look
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.
This documentation was generated with a post-Beta4 version of Javadoc.