3 ms·
No. It's a convenient superclass that allows beans that are themselves factories to create proxy objects. It just so happens that these proxies are singletons.
by chris_wot 14y ago
No. It's a convenient superclass that allows beans that are themselves factories to create proxy objects. It just so happens that these proxies are singletons.
Basically it's been deprecated, but its used for AOP interceptors. It gets a lot of flack, but there was a reasonable reason for the Spring developers to have created this class.
Oh, and the original documentation is pretty comical. But the latest documentation makes it very clear what it does:
http://static.springsource.org/spring/docs/current/javadoc-api/org/springframework/aop/framework/AbstractSingletonProxyFactoryBean.html http://static.springsource.org/spring/docs/current/javadoc-a...