Class PrototypeTargetSource

All Implemented Interfaces:
Serializable, TargetClassAware, TargetSource, Aware, BeanFactoryAware

public class PrototypeTargetSource extends AbstractPrototypeBasedTargetSource
TargetSource implementation that creates a new instance of the target bean for each request, destroying each instance on release (after each request).

Obtains bean instances from its containing BeanFactory.

Author:
Rod Johnson, Juergen Hoeller
See Also: