public final class IDGeneratorFactory extends Object
IdGenerator
implementations.Modifier and Type | Field and Description |
---|---|
static List<IDMethod> |
ID_GENERATOR_METHODS
The list of ID generation method types which have associated
IdGenerator implementations. |
Modifier and Type | Method and Description |
---|---|
static IdGenerator |
create(Adapter adapter,
String name)
Factory method which instantiates
IdGenerator implementations based on the
return value of the provided adapter's Adapter.getIDMethodType() method. |
public static final List<IDMethod> ID_GENERATOR_METHODS
IdGenerator
implementations.public static IdGenerator create(Adapter adapter, String name)
IdGenerator
implementations based on the
return value of the provided adapter's Adapter.getIDMethodType()
method.
Returns null
for unknown types.adapter
- The type of adapter to create an ID generator for.name
- name of the adapternull
).Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.