congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
MyFacesContainerInitializer
Code IndexAdd Tabnine to your IDE (free)

How to use
MyFacesContainerInitializer
in
org.apache.myfaces.ee6

Best Java code snippets using org.apache.myfaces.ee6.MyFacesContainerInitializer (Showing top 7 results out of 315)

origin: com.github.persapiens/jsf-myfaces-spring-boot-autoconfigure

@Override
public ServletContainerInitializer getServletContainerInitializer() {
  if (this.servletContainerInitializer == null) {
    this.servletContainerInitializer = new MyFacesContainerInitializer();
  }
  return this.servletContainerInitializer;
}
origin: org.apache.myfaces.core/myfaces-impl-ee6

public void onStartup(Set<Class<?>> clazzes, ServletContext servletContext) throws ServletException
  boolean startDireclty = shouldStartupRegardless(servletContext);
  if ((clazzes != null && !clazzes.isEmpty()) || isFacesConfigPresent(servletContext))
          || isDelegatedFacesServlet(className))
origin: org.apache.tomee/tomee-myfaces

delegate.onStartup(classes, ctx);
origin: org.joinfaces/jsf-myfaces-spring-boot-autoconfigure

@Override
public ServletContainerInitializer getServletContainerInitializer() {
  if (this.servletContainerInitializer == null) {
    this.servletContainerInitializer = new MyFacesContainerInitializer();
  }
  return this.servletContainerInitializer;
}
origin: org.apache.tomee/tomee-myfaces

public TomEEMyFacesContainerInitializer() {
  delegate = new MyFacesContainerInitializer();
}
origin: com.github.persapiens/jsf-spring-boot-autoconfigure

@Override
public ServletContainerInitializer getServletContainerInitializer() {
  if (this.servletContainerInitializer == null) {
    this.servletContainerInitializer = new MyFacesContainerInitializer();
  }
  return this.servletContainerInitializer;
}
origin: com.github.persapiens/jsf-spring-boot-autoconfigure

@Override
public ServletContainerInitializer getServletContainerInitializer() {
  if (this.servletContainerInitializer == null) {
    this.servletContainerInitializer = new MyFacesContainerInitializer();
  }
  return this.servletContainerInitializer;
}
org.apache.myfaces.ee6MyFacesContainerInitializer

Javadoc

This class is called by any Java EE 6 complaint container at startup. It checks if the current webapp is a JSF-webapp by checking if some of the JSF related annotations are specified in the webapp classpath or if the faces-config.xml file is present. If so, the listener checks if the FacesServlet has already been defined in web.xml and if not, it adds the FacesServlet with the mappings (/faces/*, *.jsf, *.faces) dynamically.

Most used methods

  • <init>
  • isDelegatedFacesServlet
    Checks if the class represented by className implements DelegatedFacesServlet.
  • isFacesConfigPresent
    Checks if /WEB-INF/faces-config.xml is present.
  • onStartup
  • shouldStartupRegardless
    Checks if the INITIALIZE_ALWAYS_STANDALONE flag is ture in web.xml. If the flag is true, this means

Popular in Java

  • Finding current android device location
  • getExternalFilesDir (Context)
  • runOnUiThread (Activity)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • ImageIO (javax.imageio)
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now