Announcement Announcement Module
No announcement yet.
STS xml AOP highlighting Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • STS xml AOP highlighting

    Is STS able to highlight java code that is advised via xml declared pointcuts? e.g.

            <aop:pointcut id="pc" expression="execution(* x.y.service.*.*(..))"/>
            <aop:advisor advice-ref="txAdvice" pointcut-ref="txPointcut"/>
    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
    Last edited by martinprit; May 6th, 2011, 05:28 AM. Reason: addtional info

  • #2
    Yes but only if it is a spring bean, it will not advice non spring beans.