How do annotation-configured frameworks (ie. Tomcat, Hibernate) scan all classes in the classpath for annotations?
Scan the classpath for classes with custom annotation
Hibernate Annotations Java Map Tomcat 7 does not scan annotations when using Jersey 2 What are annotations and how do they actually work for frameworks like Spring? Can I have an application specific classpath directory in tomcat 7, configured outside the war? question about hibernate annotations hibernate annotations compile error What Hibernate annotations am I missing? Scan text file in Java On abstract classes in Java and Hibernate annotations Can't add single XML file to Tomcat's classpath How to find classes by multiple annotations from classpath? Hibernate Annotation redundance Scan from text file Java Frameworks Tomcat error with Hibernate 3.5.1 Difference between Scan scan = null; and Scan scan = new Scan(); Where to put hibernate annotations? Hibernate Check Annotation How can I find all classes on the classpath that have a specific method annotation? How to create an annotation that is a group of Jackson annotations? Why classpath=/tomcat_lib/ doesn't work How to use Map with hibernate annotations Using Hibernate UUIDGenerator via annotations How do I scan an open file? How do I scan items from other classes in java? Java Scan An Object Error when trying to use hibernate annotations Hibernate annotations one-to-many Hibernate annotations one-to-one