Class ModelMapperAutoConfiguration


  • @ConditionalOnClass(org.modelmapper.ModelMapper.class)
    @Configuration
    public class ModelMapperAutoConfiguration
    extends Object
    The model mapper auto configuration.
    Author:
    Christian Bremer
    • Constructor Detail

      • ModelMapperAutoConfiguration

        public ModelMapperAutoConfiguration()
    • 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