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.
@author Jakob Korherr (latest modification by $Author: cjhoward $)
@version $Revision: 931505 $ $Date: 2010-04-07 06:32:02 -0500 (Wed, 07 Apr 2010) $
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.