public abstract class TypeFactory
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ENTITY_FACTORY_BEAN_NAME |
| Constructor and Description |
|---|
TypeFactory() |
| Modifier and Type | Method and Description |
|---|---|
abstract java.lang.Object |
build(java.lang.String string)
Build an instance of the configuration type from a string.
|
static TypeFactory |
getInstance(java.lang.Class<?> configInterface,
java.lang.reflect.Method method)
Get a TypeFactory instance appropriate for the return type of the
specified configuration interface method.
|
public static final java.lang.String ENTITY_FACTORY_BEAN_NAME
public abstract java.lang.Object build(java.lang.String string)
string - The string value.public static TypeFactory getInstance(java.lang.Class<?> configInterface, java.lang.reflect.Method method)
configInterface - The configuration interface.method - The method.java.lang.IllegalArgumentException - If the type is not supported.