Annotation Type ServerContext


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

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

    Since:
    10.0
    Author:
    Petru Galanton