org.apache.axiom.om.util
Class UUIDGenerator
java.lang.Object
org.apache.axiom.om.util.UUIDGenerator
public class UUIDGenerator
- extends java.lang.Object
Field Summary |
private static java.lang.String |
baseUUID
This class will give UUIDs for axis2. |
private static long |
incrementingValue
|
private static java.util.Random |
myRand
|
Method Summary |
protected static java.lang.String |
getInitialUUID()
|
static java.lang.String |
getUUID()
MD5 a random string with localhost/date etc will return 128 bits construct a string of 18
characters from those bits. |
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
baseUUID
private static java.lang.String baseUUID
- This class will give UUIDs for axis2.
incrementingValue
private static long incrementingValue
myRand
private static java.util.Random myRand
UUIDGenerator
public UUIDGenerator()
getUUID
public static java.lang.String getUUID()
- MD5 a random string with localhost/date etc will return 128 bits construct a string of 18
characters from those bits.
- Returns:
- string
getInitialUUID
protected static java.lang.String getInitialUUID()
main
public static void main(java.lang.String[] args)