Class OmniApplication

  • All Implemented Interfaces:
    FacesWrapper<Application>

    public class OmniApplication
    extends ApplicationWrapper

    This OmniFaces application extends the standard Faces application as follows:

    • Support for CDI in Converters and Validators, so that e.g. @Inject and @EJB work directly in Faces converters and validators without any further modification.

    This application is already registered by OmniFaces' own faces-config.xml and thus gets auto-initialized when the OmniFaces JAR is bundled in a web application, so end-users do not need to register this application explicitly themselves.

    Since:
    1.6
    Author:
    Radu Creanga <rdcrng@gmail.com>, Bauke Scholtz
    See Also:
    ConverterManager, ValidatorManager