Spring AOP - Advice Types
Spring aspects can work with five kinds of advice mentioned in the following table.
|Sr.No.||Advice & Description|
Run advice before the method execution.
Run advice after the method execution, regardless of its outcome.
Run advice after the method execution, only if the method completes successfully.
Run advice after the method execution, only if the method exits by throwing an exception.
Run advice before and after the advised method is invoked.