net.sf.mmm.util.uuid.base
Class RandomUuidFactory
java.lang.Object
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)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RandomUuidFactory
public RandomUuidFactory()
- The constructor.
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.