org.apache.myfaces.webapp
Class Jsp21FacesInitializer

java.lang.Object
  extended by org.apache.myfaces.webapp.AbstractFacesInitializer
      extended by org.apache.myfaces.webapp.Jsp21FacesInitializer
All Implemented Interfaces:
FacesInitializer

public class Jsp21FacesInitializer
extends AbstractFacesInitializer

Initializes MyFaces in a JSP 2.1 environment.


Field Summary
 
Fields inherited from class org.apache.myfaces.webapp.AbstractFacesInitializer
EXPRESSION_FACTORY
 
Constructor Summary
Jsp21FacesInitializer()
           
 
Method Summary
protected  ELResolverBuilder createResolverBuilderForJSP(RuntimeConfig runtimeConfig)
           
protected  javax.servlet.jsp.JspFactory getJspFactory()
           
protected  void initContainerIntegration(javax.servlet.ServletContext servletContext, ExternalContext externalContext)
          Performs initialization tasks depending on the current environment.
protected  void setJspFactory(javax.servlet.jsp.JspFactory jspFactory)
          Sets the JspFactory to use.
 
Methods inherited from class org.apache.myfaces.webapp.AbstractFacesInitializer
buildConfiguration, destroyFaces, destroyShutdownFacesContext, destroyStartupFacesContext, getUserDefinedExpressionFactory, initFaces, initShutdownFacesContext, initStartupFacesContext, loadExpressionFactory, validateFacesConfig
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Jsp21FacesInitializer

public Jsp21FacesInitializer()
Method Detail

initContainerIntegration

protected void initContainerIntegration(javax.servlet.ServletContext servletContext,
                                        ExternalContext externalContext)
Description copied from class: AbstractFacesInitializer
Performs initialization tasks depending on the current environment.

Specified by:
initContainerIntegration in class AbstractFacesInitializer
Parameters:
servletContext - the current ServletContext
externalContext - the current ExternalContext

getJspFactory

protected javax.servlet.jsp.JspFactory getJspFactory()

setJspFactory

protected void setJspFactory(javax.servlet.jsp.JspFactory jspFactory)
Sets the JspFactory to use. Currently, this method just simplifies testing.

Parameters:
jspFactory - the JspFactory to use

createResolverBuilderForJSP

protected ELResolverBuilder createResolverBuilderForJSP(RuntimeConfig runtimeConfig)


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.