JSF-Spring

de.mindmatters.faces.spring.test
Interface JsfEnvironment


public interface JsfEnvironment

Encapsulates the whole configuration of a JSF environment with the use of JSF-Spring. Delivers the JsfStartupDriver representing a concrete JSF implementation and the corresponding WebApplicationContext usually created by JSF-Spring.

Author:
Andreas Kuhrwahl

Method Summary
 ConfigurableWebApplicationContext loadContext(javax.servlet.ServletContext servletContext)
          Loads the appropriate WebApplicationContext.
 JsfStartupDriver loadJsfImplementation(javax.servlet.ServletContext servletContext)
          Loads the appropriate JsfStartupDriver.
 

Method Detail

loadContext

ConfigurableWebApplicationContext loadContext(javax.servlet.ServletContext servletContext)
                                              throws java.lang.Exception
Loads the appropriate WebApplicationContext.

Parameters:
servletContext - the ServletContext
Returns:
the WebApplicationContext
Throws:
java.lang.Exception - in case of errors

loadJsfImplementation

JsfStartupDriver loadJsfImplementation(javax.servlet.ServletContext servletContext)
                                       throws java.lang.Exception
Loads the appropriate JsfStartupDriver.

Parameters:
servletContext - the ServletContext
Returns:
the JsfStartupDriver
Throws:
java.lang.Exception - in case of errors

JSF-Spring

Copyright © 2006 mindmatters GmbH & Co. KG