@Configuration
@ConditionalOnClass(value={com.github.dozermapper.spring.DozerBeanMapperFactoryBean.class,com.github.dozermapper.core.Mapper.class})
@ConditionalOnMissingBean(value=com.github.dozermapper.core.Mapper.class)
@EnableConfigurationProperties(value=DozerProperties.class)
public class DozerConfiguration
extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
private DozerProperties |
properties |
| 构造器和说明 |
|---|
DozerConfiguration(DozerProperties properties)
Constructor for creating auto configuration.
|
| 限定符和类型 | 方法和说明 |
|---|---|
com.github.dozermapper.spring.DozerBeanMapperFactoryBean |
dozerMapper()
Creates default Dozer mapper
|
DozerUtil |
getDozerUtil(com.github.dozermapper.core.Mapper mapper) |
private final DozerProperties properties
public DozerConfiguration(DozerProperties properties)
properties - properties@Bean public DozerUtil getDozerUtil(com.github.dozermapper.core.Mapper mapper)
@Bean
public com.github.dozermapper.spring.DozerBeanMapperFactoryBean dozerMapper()
throws IOException
IOException - if there is an exception during initialization.Copyright © 2021. All rights reserved.