PDA

View Full Version : All instances have the same proxy class?


ctran
Aug 25th, 2004, 10:10 PM
Does Spring ensure that all prototyped instances will come from the same
proxy class, if proxied? I'm trying to integrate Webwork and Spring,
but when I want to proxy all actions from WebWork (for transaction)
but every now and then, Spring will create a new instance with a different proxy class. Can this be fixed in Spring?

katentim
Aug 26th, 2004, 07:29 AM
Does this JIRA issue answer your question?
http://opensource.atlassian.com/projects/spring/browse/SPR-217

ctran
Aug 26th, 2004, 06:59 PM
No, this is not a configuration issue. I use AutoProxyBeanCreator
and my actions work fine for a while until the proxy cache expires (weak hashmap) then all my actions have different classes.

Does this JIRA issue answer your question?
http://opensource.atlassian.com/projects/spring/browse/SPR-217