类 DozerConfiguration
java.lang.Object
vip.mate.core.dozer.config.DozerConfiguration
@Configuration
@ConditionalOnClass({com.github.dozermapper.spring.DozerBeanMapperFactoryBean.class,com.github.dozermapper.core.Mapper.class})
@ConditionalOnMissingBean(com.github.dozermapper.core.Mapper.class)
@EnableConfigurationProperties(DozerProperties.class)
public class DozerConfiguration
extends Object
Dozer配置
- 作者:
- pangu
-
字段概要
字段 修饰符和类型 字段 说明 private DozerPropertiesproperties -
构造器概要
构造器 构造器 说明 DozerConfiguration(DozerProperties properties)Constructor for creating auto configuration. -
方法概要
修饰符和类型 方法 说明 com.github.dozermapper.spring.DozerBeanMapperFactoryBeandozerMapper()Creates default Dozer mapperDozerUtilgetDozerUtil(com.github.dozermapper.core.Mapper mapper)
-
字段详细资料
-
properties
-
-
构造器详细资料
-
DozerConfiguration
Constructor for creating auto configuration.- 参数:
properties- properties
-
-
方法详细资料
-
getDozerUtil
-
dozerMapper
@Bean public com.github.dozermapper.spring.DozerBeanMapperFactoryBean dozerMapper() throws IOExceptionCreates default Dozer mapper- 返回:
- Dozer mapper
- 抛出:
IOException- if there is an exception during initialization.
-