public class DozerBeanMapperFactoryBean extends Object implements org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
| Constructor and Description |
|---|
DozerBeanMapperFactoryBean() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
void |
destroy()
Spring DisposableBean method implemention.
|
Object |
getObject() |
Class<Mapper> |
getObjectType() |
boolean |
isSingleton() |
void |
setCustomConverters(List<CustomConverter> customConverters) |
void |
setCustomConvertersWithId(Map<String,CustomConverter> customConvertersWithId) |
void |
setEventListeners(List<DozerEventListener> eventListeners) |
void |
setFactories(Map<String,BeanFactory> factories) |
void |
setMappingFiles(org.springframework.core.io.Resource[] mappingFiles)
Spring resources definition for providing mapping file location.
|
public final void setMappingFiles(org.springframework.core.io.Resource[] mappingFiles)
<bean class="org.dozer.spring.DozerBeanMapperFactoryBean">
<property name="mappingFiles" value="classpath*:/*.dozer.xml"/>
</bean>
mappingFiles - Spring resource definitionpublic final void setCustomConverters(List<CustomConverter> customConverters)
public void setCustomConvertersWithId(Map<String,CustomConverter> customConvertersWithId)
public final void setEventListeners(List<DozerEventListener> eventListeners)
public final void setFactories(Map<String,BeanFactory> factories)
public final Object getObject() throws Exception
getObject in interface org.springframework.beans.factory.FactoryBeanExceptionpublic final Class<Mapper> getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBeanpublic final boolean isSingleton()
isSingleton in interface org.springframework.beans.factory.FactoryBeanpublic final void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionpublic void destroy()
throws Exception
destroy in interface org.springframework.beans.factory.DisposableBeanExceptionCopyright © 2005-2012 dozer. All Rights Reserved.