
public class AutoBeanFactorySource extends 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(Class<F> clazz)
Create an instance of an AutoBeanFactory.
|
static <T> AutoBean<T> |
createBean(Class<T> clazz,
Configuration configuration)
Create an instance of an AutoBean directly.
|
public static <F extends AutoBeanFactory> F create(Class<F> clazz)
F - the factory typeclazz - the Class representing the factory interfacepublic static <T> AutoBean<T> createBean(Class<T> clazz, Configuration configuration)
T - the interface type implemented by the AutoBeanclazz - the interface type implemented by the AutoBeanCopyright © 2016. All rights reserved.