org.jboss.seam.faces.projectstage
Class WebXmlProjectStageDetector
java.lang.Object
org.jboss.seam.faces.projectstage.WebXmlProjectStageDetector
- All Implemented Interfaces:
- org.jboss.seam.faces.projectstage.ProjectStageDetector, org.jboss.solder.util.Sortable
public class WebXmlProjectStageDetector
- extends Object
- implements org.jboss.seam.faces.projectstage.ProjectStageDetector
Implementation of ProjectStageDetector that tries to read the project stage from the standard servlet context
parameter. As a CDI extension cannot access the ServletContext, we try to use the context class loader to find
web.xml and parse it manually.
- Author:
- Christian Kaltepoth
| Nested classes/interfaces inherited from interface org.jboss.solder.util.Sortable |
org.jboss.solder.util.Sortable.Comparator |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebXmlProjectStageDetector
public WebXmlProjectStageDetector()
getPrecedence
public int getPrecedence()
- Specified by:
getPrecedence in interface org.jboss.solder.util.Sortable
getProjectStage
public javax.faces.application.ProjectStage getProjectStage()
- Specified by:
getProjectStage in interface org.jboss.seam.faces.projectstage.ProjectStageDetector
Copyright © 2009-2011 Seam Framework. All Rights Reserved.