The Javadoc for org.springframework.transaction.interceptor.Transa ctionProxyFactoryBean says,
(emphasis added).“This class is intended to cover the typical case of declarative transaction demarcation: namely, wrapping a (singleton) target object with a transactional proxy, proxying all the interfaces that the target implements.”
I can't quite get my arms around why this is only possible with singleton classes. Is this truly the case? Or is the singleton just a recommendation and I have other problems?
- Justin Makeig


Reply With Quote