java.rmi.activation
Class ActivationID

Activation makes use of special identifiers to denote remote
objects that can be activated over time. An activation identifier
(an instance of the class ActivationID) contains several
pieces of information needed for activating an object:

a remote reference to the object's activator, and

a unique identifier for the object.

An activation id for an object can be obtained by registering
an object with the activation system. Registration is accomplished
in a few ways:

via the Activatable.register method

via the first Activatable constructor (that takes
three arguments and both registers and exports the object, and

via the first Activatable.exportObject method
that takes the activation descriptor, object and port as arguments;
this method both registers and exports the object.

ActivationID(Activator activator)
The constructor for ActivationID takes a single
argument, activator, that specifies a remote reference to the
activator responsible for activating the object associated with
this identifier.

ActivationID

The constructor for ActivationID takes a single
argument, activator, that specifies a remote reference to the
activator responsible for activating the object associated with
this identifier. An instance of ActivationID is globally
unique.

Parameters:

activator - reference to the activator responsible for
activating the object

equals

Compares two activation ids for content equality.
Returns true if both of the following conditions are true:
1) the unique identifiers equivalent (by content), and
2) the activator specified in each identifier
refers to the same remote object.

Submit a bug or feature Version 1.2 of Java Platform API SpecificationJava is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,Palo Alto, California, 94303, U.S.A. All Rights Reserved.