AspectJ: two kinds of tutorials

Viewed 12553

From my research I know there are two ways of using AspectJ. First is by creating A.aj class and second by adding annotation @Aspect in A.java.

I was looking for a good tutorial for this second kind, especially about lines like

@After("call(void fooMethod())")  
@Around("call(void sendAndReceive())") 
@Before("execution(String greeting(..)) && args(context)")

but I don't know how they are called.

Could you recommend some tutorials?

2 Answers
Related