Spring Framework

Create a bean with a prototype scope

<bean id="myCoach" class="com.company.Coach" scope="prototype">
</bean>

Diskussion