Annotation Interface DefaultContext


@Retention(RUNTIME) @Qualifier @Inherited @Documented public @interface DefaultContext
This qualifier annotation indicates that the annotated element has some association with the application context of the default servlet (mapped to /).

While this qualifier may be used on any element, its main use is in combination with @Component beans and @DefaultConfiguration component scanning. Components qualified with this annotation will be scanned and instantiated only in the application context of the default servlet.

Since:
10.0
Author:
Petru Galanton