类 ComponentConfiguration


  • @Configuration
    public class ComponentConfiguration
    extends java.lang.Object
    用于自定义的Component目录
    • 构造器详细资料

      • ComponentConfiguration

        public ComponentConfiguration()
    • 方法详细资料

      • enProperty

        @Bean
        public EnProperty enProperty()
      • mongoRepository

        @Bean
        @ConditionalOnProperty("spring.data.mongodb.uri")
        public MongoRepository mongoRepository​(org.springframework.data.mongodb.core.MongoTemplate mongoTemplate)