Package org.bremersee.converter
Class ModelMapperAutoConfiguration
- java.lang.Object
-
- org.bremersee.converter.ModelMapperAutoConfiguration
-
@ConditionalOnClass(org.modelmapper.ModelMapper.class) @Configuration public class ModelMapperAutoConfiguration extends Object
The model mapper auto configuration.- Author:
- Christian Bremer
-
-
Constructor Summary
Constructors Constructor Description ModelMapperAutoConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.modelmapper.ModelMapper
modelMapper(org.springframework.beans.factory.ObjectProvider<List<ModelMapperConfigurerAdapter>> adapters)
Creates the model mapper bean.
-
-
-
Method Detail
-
modelMapper
@Bean public org.modelmapper.ModelMapper modelMapper(org.springframework.beans.factory.ObjectProvider<List<ModelMapperConfigurerAdapter>> adapters)
Creates the model mapper bean.- Parameters:
adapters
- the configuration adapters- Returns:
- the model mapper
-
-