title: How to detect and process Custom annotations by scanning all classes using spring features
body: <p>I have some class level and method level custom annotations used in various spring based application classes (mostly rest controllers and POJO service beans).</p>
  <p>Now  I want to extract &amp; process those annotations from all the applied beans to expose a consolidated report via spring boot actuator.</p>
  <p>Since I am trying to develop this report actuator as generic component so it could be bundled with any application (as jar dependency ) and should be able to extract the report for that application,  so can not go with a particular package/class name scan in annotation processing.</p>
  <p>Thus, I am not sure whats the best way to scan all the classes/method and extract these annotations at runtime. I know I have control of spring's application context but will that make any sense to use in this context.. I am not sure. So need some help in annotation processing in this case.</p>