Archive

Posts Tagged ‘aspectj’

AspectJ annotation matching

On my current project we were writing an aspect that must intercept any method annotated with a certain annotation. Each method could specify some values though that annotation, whose should be available on interception.

Just as a sample I wrote the annotation @Trace, which is told the message to trace, and a service class with a single method (of course annotated with @Trace). Read more…

Categories: Java Tags:
Follow

Get every new post delivered to your Inbox.