类 DozerConfiguration
- java.lang.Object
-
- me.youm.frame.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 ObjectDozer配置- 作者:
- youta
-
-
字段概要
字段 修饰符和类型 字段 说明 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
private final DozerProperties properties
-
-
构造器详细资料
-
DozerConfiguration
public DozerConfiguration(DozerProperties properties)
Constructor for creating auto configuration.- 参数:
properties- properties
-
-
方法详细资料
-
getDozerUtil
@Bean public DozerUtil getDozerUtil(com.github.dozermapper.core.Mapper mapper)
-
dozerMapper
@Bean public com.github.dozermapper.spring.DozerBeanMapperFactoryBean dozerMapper() throws IOExceptionCreates default Dozer mapper- 返回:
- Dozer mapper
- 抛出:
IOException- if there is an exception during initialization.
-
-