-
STS xml AOP highlighting
Is STS able to highlight java code that is advised via xml declared pointcuts? e.g.
Code:
<aop:config>
<aop:pointcut id="pc" expression="execution(* x.y.service.*.*(..))"/>
<aop:advisor advice-ref="txAdvice" pointcut-ref="txPointcut"/>
</aop:config>
I have x.y.service.Foo, when I browse this class in the Java editor can it tell me that it is advised? I have seen Spring Roo projects showing very useful highlighting and would like to see this in a non-spring roo project. If this isn't possible, is there an alternative? I have tried the Spring tools/Enable Spring Aspects tooling option
-
Yes but only if it is a spring bean, it will not advice non spring beans.