org.apache.ws.util.uuid.impl
Class JugUuidGenerator

java.lang.Object
  extended byorg.apache.ws.util.uuid.impl.JugUuidGenerator
All Implemented Interfaces:
UuidGenerator

public class JugUuidGenerator
extends java.lang.Object
implements UuidGenerator

A UuidGenerator implementation that uses JUG, an opensource Java UUID generation library. Reflection is utilized to avoid a compile-time dependency on jug.jar.

Author:
Ian P. Springer

Constructor Summary
JugUuidGenerator()
           
 
Method Summary
 java.lang.String generateUuid()
          Generate a Universally Unique IDentifier (UUID).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JugUuidGenerator

public JugUuidGenerator()
Method Detail

generateUuid

public java.lang.String generateUuid()
Description copied from interface: UuidGenerator
Generate a Universally Unique IDentifier (UUID).

Specified by:
generateUuid in interface UuidGenerator
Returns:
a Universally Unique IDentifier (UUID)


Copyright © 2004-2005 Apache Software Foundation. All Rights Reserved.