Refactored AOP advice to use Spring AOP Advisor framework.