org.dozer
Interface BeanFactory

All Known Implementing Classes:
JAXBBeanFactory, XMLBeanFactory

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

Author:
tierney.matt

Method Summary
 Object createBean(Object source, Class<?> sourceClass, String targetBeanId)
           
 

Method Detail

createBean

Object createBean(Object source,
                  Class<?> sourceClass,
                  String targetBeanId)


Copyright © 2009 dozer. All Rights Reserved.