Types of advice are:
Before advice: Advice that is executed prior to a joinpoint is called the ‘before advice’.
After returning advice: Advice that is executed after the normal completion of a joinpoint is called the ‘after returning advice’.
After throwing advice: Advice that is executed only if a method exits abnormally by throwing an exception, is called the ‘after throwing advice’.
After (finally) advice: Advice that is executed irrespective of how a joinpoint exits is called ‘after finally advice’.
Around advice: Advice that borders a joinpoint, for example, a method invocation, is called an ‘around advice’. This can be used to perform special activities before and after the invocation of method.