|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BeanFactory
Public custom bean factory interface. You can configure Dozer to use custom bean factories to create new instances of destination data objects during the mapping process. By default Dozer just creates a new instance of any destination objects using a default constructor. This is sufficient for most use cases, but if you need more flexibility you can specify your own bean factories to instantiate the data objects.
Your custom bean factory must implement the org.dozer.BeanFactoryIF interface.
Note: By default the Dozer mapping engine will use the destination object class name for the bean id when invoking the factory.
http://dozer.sourceforge.net/documentation/custombeanfactories.html
Method Summary | |
---|---|
Object |
createBean(Object source,
Class<?> sourceClass,
String targetBeanId)
|
Method Detail |
---|
Object createBean(Object source, Class<?> sourceClass, String targetBeanId)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |