|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TypeFactory<T>
Implementors create ObjectFactory instances that require runtime information.
| Method Summary | |
|---|---|
ObjectFactory<T> |
createObjectFactory(Class[] classes,
Field field)
Creates a new instance of the target class with the correct runtime types. |
Class[] |
determineClassType(Class fieldType,
GenericTypes genericTypes)
Determines the runtime generic parameter of the target class. |
Class<T> |
getBoundClass()
Get the class type handled by this factory. |
| Method Detail |
|---|
ObjectFactory<T> createObjectFactory(Class[] classes,
Field field)
classes - the generic parameter typesfield - the target field
Class<T> getBoundClass()
Class[] determineClassType(Class fieldType,
GenericTypes genericTypes)
fieldType - the class type of the fieldgenericTypes - the generic types declared for the field
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||