Please send your Questions & Answers or Feedback to ""

AOP : Why Pointcut ?

Pointcut decides weather an Advice is applied to a method or not. If we do not configure any pointcut then automatically “DafaultPointcut” will be used and this pointcut applies the Advice logic to all the methods. In some cases its not necessary to apply the advice on all the methods. For instance we apply the transaction logic only on the insert/update/delete logic methods but not on the select logic methods. So in this situation Pointcut is required.
Related Posts Plugin for WordPress, Blogger...
Flag Counter