title: When are Java annotations executed?
body: <p>I am just looking to write some annotation which can execute at runtime, before or immediately after a service method is invoked.</p>
  
  <p>I don't know if they are executed at runtime or compile time.</p>