Convenient proxy factory bean for scoped objects.
Proxies created using this factory bean are thread-safe singletons
and may be injected into shared objects, with transparent scoping behavior.
Proxies returned by this class implement the
ScopedObject interface.
This presently allows for removing the corresponding object from the scope,
seamlessly creating a new instance in the scope on next access.
Please note that the proxies created by this factory are
class-based proxies by default. This can be customized
through switching the "proxyTargetClass" property to "false".
author: Rod Johnson author: Juergen Hoeller since: 2.0 See Also: ScopedProxyFactoryBean.setProxyTargetClass |