2013-08-05 57 views

回答

5
<bean id="your id" class="your class" scope="prototype" /> 

或标记与@Scope(ConfigurableBeanFactory.SCOPE_PROTOTYPE)您正在使用的注释

+0

感谢您的及时回复。 –

+0

绝对,我需要尝试一下。 –

+0

它确实有效。 –

相关问题