Interface PersistentIdGenerator
- All Superinterfaces:
Serializable
Generates a unique consistent Id based on the principal.
- Since:
- 3.1
-
Method Summary
Modifier and TypeMethodDescriptionGenerates a PersistentId based on some algorithm plus the principal.default StringGenerates a PersistentId based on some algorithm plus the principal.default StringGenerate string.Generates a PersistentId based on some algorithm plus the principal.default StringGenerates a PersistentId based on some algorithm plus the principal.
-
Method Details
-
generate
Generates a PersistentId based on some algorithm plus the principal.- Parameters:
principal- the principal to generate the id for.service- the service for which the id may be generated.- Returns:
- the generated persistent id.
-
generate
Generates a PersistentId based on some algorithm plus the principal.- Parameters:
principal- the principal to generate the id for.service- the service for which the id may be generated.- Returns:
- the generated persistent id.
-
generate
Generates a PersistentId based on some algorithm plus the principal.- Parameters:
principal- the principal to generate the id for.service- the service for which the id may be generated.- Returns:
- the generated persistent id.
-
generate
Generates a PersistentId based on some algorithm plus the principal.- Parameters:
principal- the principal to generate the id for.service- the service for which the id may be generated.- Returns:
- the generated persistent id.
-
generate
Generate string.- Parameters:
principal- the principal- Returns:
- the string
-