net.sf.mmm.util.uuid.base
Class RandomUuidFactory

java.lang.Object
  extended by net.sf.mmm.util.uuid.base.RandomUuidFactory
All Implemented Interfaces:
UuidFactory

@Singleton
@Named
public class RandomUuidFactory
extends Object
implements UuidFactory

This is an implementation of the UuidFactory interface that simply delegates to UUID.randomUUID().

Since:
1.0.1
Author:
Joerg Hohwiller (hohwille at users.sourceforge.net)

Constructor Summary
RandomUuidFactory()
          The constructor.
 
Method Summary
 UUID createUuid()
          This method creates a new UUID.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RandomUuidFactory

public RandomUuidFactory()
The constructor.

Method Detail

createUuid

public UUID createUuid()
This method creates a new UUID.

Specified by:
createUuid in interface UuidFactory
Returns:
the new UUID.


Copyright © 2001-2010 mmm-Team. All Rights Reserved.