Annotation Type PortletName


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

    The injection target type must be String.

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

    Example:

    @Inject @PortletName
    private String portletName;
    Since:
    3.0
    See Also:
    getNamespace