deegree 2.2 (2008/12/22 11:33 build-3038-official)

org.deegree.framework.util
Class BasicUUIDFactory

java.lang.Object
  extended by org.deegree.framework.util.BasicUUIDFactory

Deprecated. use

public final class BasicUUIDFactory
extends Object

A hack implementation of something similar to a DCE UUID generator. Generates unique 128-bit numbers based on the current machine's internet address, the current time, and a sequence number. This implementation should be made to conform to the DCE specification. ("DEC/HP, Network Computing Architecture, Remote Procedure Call Runtime Extensions Specification, version OSF TX1.0.11," Steven Miller, July 23, 1992. This is part of the OSF DCE Documentation. Chapter 10 describes the UUID generation algorithm.)

Some known deficiencies:

However, the intention is that UUIDs generated from this class will be unique with respect to UUIDs generated by other DCE UUID generators.

See Also:
UUID

Constructor Summary
BasicUUIDFactory()
          Deprecated.  
BasicUUIDFactory(long majorId)
          Deprecated.  
 
Method Summary
 UUID createUUID()
          Deprecated. Generate a new UUID.
 UUID recreateUUID(byte[] b)
          Deprecated.  
 UUID recreateUUID(String uuidstring)
          Deprecated. Recreate a UUID previously generated UUID value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicUUIDFactory

public BasicUUIDFactory()
Deprecated. 

BasicUUIDFactory

public BasicUUIDFactory(long majorId)
Deprecated. 
Method Detail

createUUID

public UUID createUUID()
Deprecated. 
Generate a new UUID.

See Also:
UUIDFactory#createUUID

recreateUUID

public UUID recreateUUID(String uuidstring)
Deprecated. 
Recreate a UUID previously generated UUID value.

See Also:
UUIDFactory#recreateUUID

recreateUUID

public UUID recreateUUID(byte[] b)
Deprecated. 
See Also:
UUIDFactory#recreateUUID

deegree 2.2 (2008/12/22 11:33 build-3038-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net