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.
ActivationGroup
, ActivationGroupDesc
, Serialized Formpublic ActivationGroupID(ActivationSystem system)
Constructs a unique group id.
system
- the group's activation systemUnsupportedOperationException
- if and only if activation is not supported by this implementationpublic ActivationSystem getSystem()
Returns 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
Hashtable
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.
equals
in class Object
obj
- the Object to compare withHashtable
© 1993–2017, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.