多项选择题

A.该方法应该用@Autowired 进行注解
B.该方法应该用@Bean 进行注解
C.该类应该用@Configuration 进行注解
D.该类应该用@ComponentScan 进行注解