- java.lang.Object
-
- java.rmi.activation.ActivationGroupID
-
- All Implemented Interfaces:
- Serializable
public class ActivationGroupID extends Object implements Serializable
The identifier for a registered activation group serves several purposes:- identifies the group uniquely within the activation system, and
- contains a reference to the group's activation system so that the group can contact its activation system when necessary.
The
ActivationGroupID
is returned from the call toActivationSystem.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
,ActivationGroupDesc
, Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description ActivationGroupID(ActivationSystem system)
Constructs a unique group id.
-
Method Summary
Methods Modifier and Type Method and Description 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.
-
-
-
Constructor Detail
-
ActivationGroupID
public ActivationGroupID(ActivationSystem system)
Constructs a unique group id.- Parameters:
system
- the group's activation system- Since:
- 1.2
-
-
Method Detail
-
getSystem
public ActivationSystem getSystem()
Returns the group's activation system.- Returns:
- the group's activation system
- Since:
- 1.2
-
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.
-
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.
-
-
Document created the 11/06/2005, last modified the 04/03/2020
Source of the printed document:https://www.gaudry.be/en/java-api-rf-java/rmi/activation/ActivationGroupID.html
The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.
References
These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.