Announcement Announcement Module
Collapse
No announcement yet.
DefaultAdvisorAutoProxyCreator / getBeansOfType : bug ? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • DefaultAdvisorAutoProxyCreator / getBeansOfType : bug ?

    Hi,

    I am using a DefaultAdvisorAutoProxyCreator to add proxy to my daos to send event when I call some methods on them.

    To do that, my interceptor is application context aware. In the setSpringContext method I call the method getBeansOfType to retrieve all spring beans that implements my listener.

    When I do that, my daos are not proxied by the advisor because it seems that the advisor isn't in the postProcessor list at this time. If I remove the call everything is ok.

    Is this a normal behavior or a bug ? Do I miss something ?

    Thanks in advance

    seb

  • #2
    Sorry to repost on this thread but I really want to know if calling 'getBeansOfType' in the 'setApplicationContext' is allowed or not.

    If this is allowed, I think there is a bug on the DefaultAdvisorAutoProxyCreator application when using getBeansOfType before the beans are configured

    Comment

    Working...
    X