Announcement Announcement Module
Collapse
No announcement yet.
DefaultAdvisorAutoProxyCreator ordering advisors Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • DefaultAdvisorAutoProxyCreator ordering advisors

    Hi all,

    Does anybody know if there is some way to specify an order to the list of advisors applied by DefaultAdvisorAutoProxyCreator?

    Although ideally aspects should be orthogonal, sometimes that is not the case.

  • #2
    Fernando,

    You can have your own Advisors implement the Ordered interface, perhaps making the order parameter configurable. The DefaultAdvisorAutoProxyCreator will sort the advisors using this interface to determine the order. Most, if not all of the Spring provided Advisors implement this interface.

    Rob

    Comment


    • #3
      Thank you very much Rob, that worked nicely!

      Fernando

      Comment

      Working...
      X