Skip to content

Latest commit

 

History

History
9 lines (7 loc) · 403 Bytes

README.md

File metadata and controls

9 lines (7 loc) · 403 Bytes

spring-aop

A simple spring AOP to demo log execution time

Details

  1. It has a dummy controller and dummy service which does some heavy lifting of work for 2 sec.
  2. With the use of annotation @LogExecutionTime we can measure the time taken by any method.
  3. It has a simple advice with Join point with @Around option.
This example is good for any beginner to start with AOP.