Class Overview
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.
Summary
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
Creates and returns a copy of this object.
|
boolean
|
equals(Object obj)
Indicates whether some other object is "equal to" this one.
|
void
|
finalize()
Called by the garbage collector on an object when garbage collection
determines that there are no more references to the object.
|
final
Class<?>
|
getClass()
Returns the runtime class of this Object .
|
int
|
hashCode()
Returns a hash code value for the object.
|
final
void
|
notify()
Wakes up a single thread that is waiting on this object's
monitor.
|
final
void
|
notifyAll()
Wakes up all threads that are waiting on this object's monitor.
|
String
|
toString()
Returns a string representation of the object.
|
final
void
|
wait()
Causes the current thread to wait until another thread invokes the
notify() method or the
notifyAll() method for this object.
|
final
void
|
wait(long timeout, int nanos)
Causes the current thread to wait until another thread invokes the
notify() method or the
notifyAll() method for this object, or
some other thread interrupts the current thread, or a certain
amount of real time has elapsed.
|
final
void
|
wait(long timeout)
Causes the current thread to wait until either another thread invokes the
notify() method or the
notifyAll() method for this object, or a
specified amount of time has elapsed.
|
|
Public Constructors
public
ActivationGroupID
(ActivationSystem system)
Constructs a unique group id.
Parameters
system
| the group's activation system |
Public Methods
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.
Parameters
obj
| the Object to compare with |
Returns
- true if these Objects are equal; false otherwise.
Returns the group's activation system.
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.
Returns
- a hash code value for this object.