@Configuration作用:用于指定当前类是一个 spring 配置类,当创建容器时会从该类上加载注解。获取容器时需要使用AnnotationApplicationContext(有@Configuration 注解的类.class)。属性:value:用于指定配置类的字节码 Last modification:July 6, 2019 © Allow specification reprint Support Appreciate the author AliPayWeChat Like 如果觉得这篇技术文章对你有用,请随意赞赏
Comment here is closed