S

Shyam Dubey • 3.70K Points
Extraordinary

Q. Which annotation is used to log method execution time using Spring AOP?

  • (A) @LogTime
  • (B) @ExecutionLogger
  • (C) @Around
  • (D) @TimeTrack
  • Correct Answer - Option(C)
  • Views: 12
  • Filed under category Springboot
  • Hashtags:

Explanation by: Shyam Dubey
@Around is used in Aspect-Oriented Programming (AOP) to execute custom logic before and after method execution.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.