This documentation differs from the official API.
Jadeite adds
extra features to the API including:
variable font sizes,
constructions examples,
placeholders for classes and methods, and auto-generated “See Also” links.
Additionally it
is missing some items found in standard Javadoc documentation, including:
generics type information,
“Deprecated” tags and comments,
“See Also” links,
along with other minor differences.
Please send any questions or feedback to
bam@cs.cmu.edu.
java.rmi.activation
class ActivationGroupID
- All Implemented Interfaces:
- Serializable
-
Most common way to construct:
-
ActivationSystem localActivationSystem = …;
ActivationGroupDesc exampleGroup = …;
ActivationGroupID agi = localActivationSystem.registerGroup(exampleGroup);
Based on 9 examples
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 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.
Constructor Summary |
Constructs a unique group id.
|
Method Summary |
boolean |
Compares two group identifiers for content equality.
|
ActivationSystem |
Returns the group's activation system.
|
int |
Returns a hashcode for the group's identifier.
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ActivationGroupID
public ActivationGroupID(ActivationSystem system)
-
Constructs a unique group id.
- Parameters:
system
- the group's activation system
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.
- Overrides:
equals
in class Object
- Parameters:
obj
- the Object to compare with
- Returns:
- true if these Objects are equal; false otherwise.
getSystem
public ActivationSystem getSystem()
-
Returns the group's activation system.
- Returns:
- the group's activation system
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.
- Overrides:
hashCode
in class Object
This documentation differs from the official API.
Jadeite adds
extra features to the API including:
variable font sizes,
constructions examples,
placeholders for classes and methods, and auto-generated “See Also” links.
Additionally it
is missing some items found in standard Javadoc documentation, including:
generics type information,
“Deprecated” tags and comments,
“See Also” links,
along with other minor differences.
Please send any questions or feedback to
bam@cs.cmu.edu.
This page displays the
Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
The official Sun™ documentation can be found here at
http://java.sun.com/javase/6/docs/api/.