CONTENTS | PREV | NEXT | Java Remote Method Invocation |
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 identifier is passed as one of the arguments to the activation group's special constructor when an activation group is created/recreated.package java.rmi.activation;The ActivationGroupID constructor creates a unique group identifier whose ActivationSystem is system.
public class ActivationGroupID implements java.io.Serializable
{
public ActivationGroupID(ActivationSystem system);
public ActivationSystem getSystem();
public boolean equals(Object obj);
public int hashCode();
}The
getSystem
method returns the activation system for the group.The
hashCode
method returns a hashcode for the group's identifier. Two group identifiers that refer to the same remote group will have the same hash code.The
equals
method compares two group identifiers for content equality. The method 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.