Announcement Announcement Module
Collapse
No announcement yet.
Multi interface proxy Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Multi interface proxy

    I have two interfaces Interface1, Interface2. I want to make proxy with interface CommonInterface supplying two objects, which implements Interface1 and Interface2 accordingly. Is that possible ?
    Code:
    interface CommonInterface extends Interface1, Interface2 {
    }

  • #2
    That should be possible, yes. By default, ProxyFactoryBean will proxy all interfaces the target class implements.

    Also, please note that we are currently in the process of moving to stackoverflow.com for our forums. If you're still having this issue please consider asking it again at http://stackoverflow.com using the #spring tag and someone should be able to help you. Thanks!

    Comment

    Working...
    X