Annotation Interface FacesConfig


@Qualifier @Target(TYPE) @Retention(RUNTIME) public @interface FacesConfig

The presence of this annotation on a class deployed within an application guarantees activation of Jakarta Faces and its CDI specific features, even when /WEB-INF/faces-config.xml is absent and FacesServlet is not explicitly registered.

  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Supports inline instantiation of the FacesConfig qualifier.
    static enum 
    Deprecated, for removal: This API element is subject to removal in a future version.
    It has no effect anymore as per Jakarta Faces version 4.0; the actual impl version should be leading.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
    It has no effect anymore as per Jakarta Faces version 4.0; the actual impl version should be leading.
  • Element Details

    • version

      Deprecated, for removal: This API element is subject to removal in a future version.
      It has no effect anymore as per Jakarta Faces version 4.0; the actual impl version should be leading.

      The value of this attribute indicates that features corresponding to this version must be enabled for this application.

      Returns:
      the spec version for which the features must be enabled.
      Default:
      JSF_2_3