@Component public class Foo { @Autowired(required=true) public Foo( bar,@限定符( yay ) Boo,@限定符(“呼”) Boo@Component @限定符(“yay”) @Scope(BeanDefinition.SCOPE_PROTOTYPE)公共BooYay实现Boo {} @Component @限定符(“呼”)@BeanDefinition.SCOPE_PROTOTYPE(公共BooHoo实现Boo {})
- In the above example, did I