Announcement Announcement Module
No announcement yet.
Wrong bean being passed to aspect Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Wrong bean being passed to aspect

    Hello, all.

    I am developing a web application with text search (compass) capabilities.
    I have defined a set of DAOs (iBatis) and related service level classes.
    I want to update the search engine index whenever one (a specific DAO) of these DAO's save/delete/update operations is performed, but not for any other of the defined DAOs.

    I managed to update the index by following that example almost unmodified, but the problem is that this is happening for all the DAOs instead of only one of them.
    That is, I'm passing BeanNameAutoProxyCreator.beanNames only one name, but it is behaving as if I had passed all of the DAOs bean names to it.

    Any ideas on why is this happenig?