Annotation Type Namespace


  • @Qualifier
    @Retention(RUNTIME)
    @Target({METHOD,FIELD,PARAMETER})
    public @interface Namespace
    Qualifier that specifies the namespace for injection.

    The injection target type must be String.

    This annotation may only be used in @RequestScoped or @RenderStateScoped beans.

    Example:

    @Inject @Namespace
    private String namespace;
    Since:
    3.0
    See Also:
    getNamespace