Understanding the Pointcut expressions

Pointcut is an expression language of spring AOP which is basically used to match the target methods to apply the advice. It has two parts ,one is the method signature comprising of method name and parameters. Other one is the pointcut expression which determines exactly which method we are applying the advice to. Example @Pointcut("execution(* […]

Share this article on

Spring AOP with AspectJ Annotation Configuration Example

As we have already seen the AOP advise methods and its implementation through XML. Let’s discuss AOP advises with annotation In order to achieve this, we need to follow below steps Annotate our aspect class with @Aspect annotation. We need to define the aspect as a bean in spring xml file We need to define […]

Share this article on