classpath « Annotation « Spring Q&A





1. How can I find all classes on the classpath that have a specific method annotation?    stackoverflow.com

I want to implement an intialization mechanism that is annotation-based in Java. Specifically, I have an annotation I've defined:

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface Initialization {

/**
 * If the eager initialization flag is set ...

2. Spring util to scan classpath for annotated classes    forum.springsource.org

Hi, all. Does the spring framework offer an util class helpful to scan classpath for custom annotated classes like it does for @Component, @Service and others? I needn't register and set ...

3. Use of classpath annotation based scanning and classpath config files    forum.springsource.org

Use of classpath annotation based scanning and classpath config files We are using Spring 3.0 and have been able to annotate classes with @Component to allow us to do classpath scanning ...