Results 1 to 3 of 3

Thread: DefaultAdvisorAutoProxyCreator ordering advisors

  1. #1
    Join Date
    Aug 2004
    Location
    Madrid, Spain
    Posts
    25

    Default 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. #2
    Join Date
    Aug 2004
    Location
    Southampton, UK
    Posts
    826

    Default

    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

  3. #3
    Join Date
    Aug 2004
    Location
    Madrid, Spain
    Posts
    25

    Default

    Thank you very much Rob, that worked nicely!

    Fernando

Similar Threads

  1. Replies: 1
    Last Post: Oct 19th, 2005, 04:06 AM
  2. Replies: 9
    Last Post: Feb 8th, 2005, 09:25 PM

Posting Permissions

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