This project has retired. For details please refer to its Attic page.
net.jini.id (Apache River v2.2.2 Specification-only API Documentation)

Package net.jini.id

Provides classes and interfaces for using universally unique identifiers.

See: Description

Package net.jini.id Description

Provides classes and interfaces for using universally unique identifiers.

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.

Since:
2.0
Version:
2.0