am trying to use Spring AOP with Spring MVC Controller. I have 3 aspects, and want the to be in specific order. In order to do this, I use Ordered interface and implement getOrder method:
The getOrder doesn't do the trick. I will appreciate any practical advice, or if you don't have the exact answer I will appreciate any theoretical knowledge about the Spring Proxy and the weaving mechanism.Code:@Aspect @Component public class LoggingAspect implements Ordered{ public int getOrder() { System.out.println("Abra"); return 1; }
I will post any Code/Configuration required upon demand. Thanks for reading.


Reply With Quote
