多项选择题
A.该方法应该用@Autowired 进行注解
B.该方法应该用@Bean 进行注解
C.该类应该用@Configuration 进行注解
D.该类应该用@ComponentScan 进行注解
多项选择题 以下哪些是@Transactional 注解的有效可选属性?()
多项选择题 以下哪些关于BeanFactoryPostProcessors 的说法是正确的?()
多项选择题 代码显示了在"META-INF/spring.factories"文件中指定的自动配置类@Configuration@ConditionalOnClass(HelloService.class)public class HelloAutoConfig{@ConditionalOnMissingBean(HelloService.class)@BeanHelloService helloService(){return new TypicalHelloService();}以下哪些说法是正确的?()