See: Description
Interface | Description |
---|---|
ReferentUuid |
Defines an interface that allows a proxy for a resource to express the
identity of that resource.
|
Class | Description |
---|---|
ReferentUuids |
Convenience methods for working with proxies that implement
ReferentUuid . |
Uuid |
A 128-bit value to serve as a universally unique identifier.
|
UuidFactory |
Provides static methods for creating
Uuid instances. |
Uuid
and UuidFactory
Instances of the class Uuid
are universally
unique identifiers. A Uuid
is a 128-bit value. The
class UuidFactory
provides static methods for
creating Uuid
instances with specified values and newly
generated values.
The design of the Uuid
and UuidFactory
classes is intended to allow the actual class of a Uuid
instance to be preferred (see net.jini.loader.pref
), to
help preserve that class's codebase annotation when it gets
unmarshalled, while the Uuid
class itself is not
preferred, so that Uuid
can be used in public field,
method, and constructor declarations of types resolvable by classes
defined by different class loaders.
ReferentUuid
and ReferentUuids
The interface ReferentUuid
allows a proxy for a
resource to express the identity of that resource as a
Uuid
. The class ReferentUuids
provides a static convenience method for comparing the identities of
proxies that are instances of ReferentUuid
. With a
uniform interface for accessing the identity of a proxy's resource,
two proxies can be recognized as being for the same resource even if
the proxies' implementation classes are not the same version or not
defined by the same class loader.