org.apache.muse.util.uuid
Interface UuidFactory

All Known Implementing Classes:
RandomUuidFactory

public interface UuidFactory

UuidFactory defines an interface for UUID generators. The UUIDs created by implementations of this interface should comply with the UUID spec, defined as ISO 11578:1996.

Users may wish to implement this interface with the JDK's java.util.UUID class, which has a randomUUID() method. Unfortunately, this class is only available in JDK 5.0, so it is not very portable.

Author:
Dan Jemiolo (danj)

Method Summary
 String createUUID()
           
 

Method Detail

createUUID

String createUUID()
Returns:
Any valid UUID.


Copyright © 2005-2011 Apache Web Services - Muse. All Rights Reserved.