@Scope
@Bean
@Scope(String scopeType)
public Person person() {
return new Person();
}Prototype
@Scope("prototype")Last updated
@Bean
@Scope(String scopeType)
public Person person() {
return new Person();
}@Scope("prototype")Last updated