spring-projects / spring-framework

Spring Framework
https://spring.io/projects/spring-framework
Apache License 2.0
55.28k stars 37.62k forks source link

Advisors should implement Ordered [SPR-78] #4812

Closed spring-projects-issues closed 20 years ago

spring-projects-issues commented 20 years ago

Peter den Haan opened SPR-78 and commented

We have just run into a situation where we have two types of advice, both applied using a NameMatchMethodPointcutAdvisor, that need to be applied in a specific order. As this advisor isn't ordered we have to create an ordered subclass.

Wouldn't it make sense to have advisors in the Spring framework generally implement Ordered?


Affects: 1.0 RC2

spring-projects-issues commented 20 years ago

Juergen Hoeller commented

That indeed makes sense and is easy enough to do - thanks for the hint! Juergen