Class Overview
Provides base implementations of AutoBeanFactory methods.
Summary
Nested Classes |
interface |
AbstractAutoBeanFactory.Creator |
Implementations generated by subtypes. |
Public Methods |
<T, U extends T>
AutoBean<T>
|
create(Class<T> clazz, U delegate)
Allows dynamic creation of wrapped AutoBean instances based on declared
parameterizations.
|
<T>
AutoBean<T>
|
create(Class<T> clazz)
Allows dynamic creation of AutoBean instances based on declared
parameterizations.
|
<E extends Enum<E>>
E
|
getEnum(Class<E> clazz, String token)
EnumMap support.
|
String
|
getToken(Enum<?> e)
EnumMap support.
|
Fields
Public Constructors
public
AbstractAutoBeanFactory
()
Public Methods
public
AutoBean<T>
create
(Class<T> clazz, U delegate)
Allows dynamic creation of wrapped AutoBean instances based on declared
parameterizations.
Parameters
clazz
| the Class of type T of the new instance |
delegate
| a delegate that extends type T |
Returns
- an
AutoBean
of type T or null
if the interface type
is unknown to the factory
public
AutoBean<T>
create
(Class<T> clazz)
Allows dynamic creation of AutoBean instances based on declared
parameterizations.
Parameters
clazz
| the Class of type T of the new instance |
Returns
- an
AutoBean
of type T or null
if the interface type
is unknown to the factory
Protected Methods
protected
abstract
void
initializeEnumMap
()