Create prototype scoped Spring bean with annotations?
You can use the @Scope(value = ConfigurableBeanFactory.SCOPE_PROTOTYPE) annotation. @Service @Scope(ConfigurableBeanFactory.SCOPE_PROTOTYPE) public class CustomerService { // … } Spring API Docs. Example of the mapping. Scope annotation reference.