|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.websphere.wim.common.EntryUuidGenerator
public class EntryUuidGenerator
This class implements a DCE UUID algorithm using the clock variant
algorithm. It uses a pseudo adapter address based on the time the
generator is initialized and a hash of the host name. The class
generates a UUID string of the form:
5e796ea0-57b2-11d6-8764-82fb3cc6fb79
The class was written for LDAP applications using the ibm-appUUID attribute to uniquely identify an instance of an object (i.e. an attribute assigned once that stays with an entry through its life and is unique from other objects or even objects created at different times with the same name).
This UUID will be unique across:
Even if those portion of the UUID match, the timestamps associated with an individual UUID would also have to match.
To generate a UUID, call the newEntryUuid method.
Constructor Summary | |
---|---|
EntryUuidGenerator()
|
Method Summary | |
---|---|
static java.lang.String |
newEntryUuid()
Generates a UUID string |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EntryUuidGenerator()
Method Detail |
---|
public static java.lang.String newEntryUuid()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |