Results 1 to 3 of 3

Thread: All instances have the same proxy class?

  1. #1
    Join Date
    Aug 2004
    Location
    Eagan, MN
    Posts
    11

    Default All instances have the same proxy class?

    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?

  2. #2
    Join Date
    Aug 2004
    Location
    Melbourne, Australia
    Posts
    1,104

    Default Webwork prototype proxies

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

  3. #3
    Join Date
    Aug 2004
    Location
    Eagan, MN
    Posts
    11

    Default Re: Webwork prototype proxies

    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.

    Quote Originally Posted by katentim
    Does this JIRA issue answer your question?
    http://opensource.atlassian.com/proj...browse/SPR-217

Similar Threads

  1. Order of Bean definitions matters?
    By cfuser in forum Container
    Replies: 2
    Last Post: Oct 21st, 2005, 10:29 AM
  2. Spring container fails with no exception
    By naor in forum Container
    Replies: 9
    Last Post: Oct 1st, 2005, 03:39 PM
  3. EHCaching Hibernate
    By dencamel in forum Data
    Replies: 3
    Last Post: Sep 6th, 2005, 09:03 PM
  4. Replies: 3
    Last Post: Sep 4th, 2005, 11:11 PM
  5. Stack Overflow
    By rayho222 in forum Container
    Replies: 6
    Last Post: May 17th, 2005, 03:42 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •