类 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
  • 字段详细资料

  • 构造器详细资料

    • 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 IOException
      Creates default Dozer mapper
      返回:
      Dozer mapper
      抛出:
      IOException - if there is an exception during initialization.