com.sun.faces.config
Class FacesInitializer

java.lang.Object
  extended by com.sun.faces.config.FacesInitializer
All Implemented Interfaces:
javax.servlet.ServletContainerInitializer

public class FacesInitializer
extends java.lang.Object
implements javax.servlet.ServletContainerInitializer

Adds mappings /faces, *.jsf, and *.faces for the FacesServlet (if it hasn't already been mapped) if the following conditions are met:


Constructor Summary
FacesInitializer()
           
 
Method Summary
 void onStartup(java.util.Set<java.lang.Class<?>> classes, javax.servlet.ServletContext servletContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FacesInitializer

public FacesInitializer()
Method Detail

onStartup

public void onStartup(java.util.Set<java.lang.Class<?>> classes,
                      javax.servlet.ServletContext servletContext)
               throws javax.servlet.ServletException
Specified by:
onStartup in interface javax.servlet.ServletContainerInitializer
Throws:
javax.servlet.ServletException


Copyright © 2011 Oracle America, Inc. All Rights Reserved.