org.exolab.jms.util
Class UUID

java.lang.Object
  |
  +--org.exolab.jms.util.UUID

public class UUID
extends java.lang.Object

Helper class that generates unique identifiers

Version:
$Revision: 1.3 $ $Date: 2003/08/07 13:33:12 $
Author:
Jim Alateras

Constructor Summary
UUID()
           
 
Method Summary
static java.lang.String next()
          Return the next identifier
static java.lang.String next(java.lang.String prefix)
          Returns the next identifier, prepended with the specified prefix.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UUID

public UUID()
Method Detail

next

public static java.lang.String next(java.lang.String prefix)
Returns the next identifier, prepended with the specified prefix.
Parameters:
prefix - prefix of the identifier
Returns:
the next unique identifier

next

public static java.lang.String next()
Return the next identifier
Returns:
the next unique identifier


Copyright © 1999-2004 The OpenJMS Group. All Rights Reserved.