java.lang.Object
java.rmi.activation.ActivationGroupID
- All Implemented Interfaces:
Serializable
@Deprecated(forRemoval=true, since="15") public class ActivationGroupID extends Object implements Serializable
Deprecated, for removal: This API element is subject to removal in a future version.
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 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:
- 1.2
- See Also:
ActivationGroup
,ActivationGroupDesc
, Serialized Form
-
Constructor Summary
Constructors Constructor Description ActivationGroupID(ActivationSystem system)
Deprecated, for removal: This API element is subject to removal in a future version.Constructs a unique group id. -
Method Summary
Modifier and Type Method Description boolean
equals(Object obj)
Deprecated, for removal: This API element is subject to removal in a future version.Compares two group identifiers for content equality.ActivationSystem
getSystem()
Deprecated, for removal: This API element is subject to removal in a future version.Returns the group's activation system.int
hashCode()
Deprecated, for removal: This API element is subject to removal in a future version.Returns a hashcode for the group's identifier.
-
Constructor Details
-
ActivationGroupID
Deprecated, for removal: This API element is subject to removal in a future version.Constructs a unique group id.- Parameters:
system
- the group's activation system- Throws:
UnsupportedOperationException
- if and only if activation is not supported by this implementation- Since:
- 1.2
-
-
Method Details
-
getSystem
Deprecated, for removal: This API element is subject to removal in a future version.Returns the group's activation system.- Returns:
- the group's activation system
- Since:
- 1.2
-
hashCode
public int hashCode()Deprecated, for removal: This API element is subject to removal in a future version.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
Deprecated, for removal: This API element is subject to removal in a future version.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.
-
java.rmi.activation
package specification for further information.