Name
Package net.jxta.id
Synopsis
JXTA
IDs are used to identify a variety of entities: peers, pipes,
services, modules, and so on. Each ID uniquely identifies an object;
the IDs are implementations of Unique Universal Identifiers (UUIDs).
Externally, these IDs are represented by URIs with a namespace of
“JXTA” and an encoding name of
“URN.” IDs are created through
static methods of the IDFactory
class.
Services and peergroups should choose well-known IDs for their implementations so that all peers will use the same ID. These IDs can be created by utilities within the JXTA Shell. The class hierarchy for this package is shown in Figure 9-7.
Figure 9-7. The net.jxta.id package
Interfaces
public static interface
IDFactory.Instantiator; |
Classes
public abstract class
ID implements Cloneable, Serializable;
|
public final class
IDFactory extends net.jxta.util.ClassFactory; |
Get JXTA in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.