Passing context from a join point to advice

Advice implementations often require access to data at the join point. This is called context. Pointcuts, need to expose the context at the point of execution so it can be passed to the advice implementation.

Aspectj provides the this(), target() and args() pointcuts to collect the context.

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Share Alike 2.5 License.