public class AutoBeanFactorySource
extends java.lang.Object
This implementation is written assuming that the AutoBeanFactory and associated declarations will validate if compiled and used with the AutoBeanFactoyModel.
This is experimental, unsupported code.
Constructor and Description |
---|
AutoBeanFactorySource() |
Modifier and Type | Method and Description |
---|---|
static <F extends AutoBeanFactory> |
create(java.lang.Class<F> clazz)
Create an instance of an AutoBeanFactory.
|
static <T> AutoBean<T> |
createBean(java.lang.Class<T> clazz,
Configuration configuration)
Create an instance of an AutoBean directly.
|
public static <F extends AutoBeanFactory> F create(java.lang.Class<F> clazz)
F
- the factory typeclazz
- the Class representing the factory interfacepublic static <T> AutoBean<T> createBean(java.lang.Class<T> clazz, Configuration configuration)
T
- the interface type implemented by the AutoBeanclazz
- the interface type implemented by the AutoBean