InterviewSolution
| 1. |
Define The Types Of Advice In Spring Aop. |
|
Answer» In Spring AOP, types of advice are Before: Advice that runs before a JOIN point. After returning: Advice that runs after a join point normal completion. After throwing: Advice which runs when a methods exits by throwing an EXCEPTION. After: Advice that runs after the join point EXIT by any way. Around: Advice that runs SURROUNDING to join point. Example :method INVOCATION. In Spring AOP, types of advice are Before: Advice that runs before a join point. After returning: Advice that runs after a join point normal completion. After throwing: Advice which runs when a methods exits by throwing an exception. After: Advice that runs after the join point exit by any way. Around: Advice that runs surrounding to join point. Example :method invocation. |
|