Class JdkIdGenerator
java.lang.Object
org.springframework.util.JdkIdGenerator
- All Implemented Interfaces:
IdGenerator
An
IdGenerator that calls UUID.randomUUID().- Since:
- 4.1.5
- Author:
- Rossen Stoyanchev
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
JdkIdGenerator
public JdkIdGenerator()
-
-
Method Details
-
generateId
Description copied from interface:IdGeneratorGenerate a new identifier.- Specified by:
generateIdin interfaceIdGenerator- Returns:
- the generated identifier
-