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.
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.
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
Thank you very much Rob, that worked nicely!![]()
Fernando