|
|||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Interface Summary | |
ConfigWebApplicationContext | Provides configuration for JSF's pluggable components (like UIComponents, Converters, Validators, ViewHandlers, NavigationHandlers, VariableResolver, ActionListener ...) based on "spring-beans.dtd" compatible config-files. |
Class Summary | |
ConfigLoader | Performs the actual initialization work for the jsf-spring-config root application context. |
ConfigLoaderListener | Bootstrap listener to start up jsf-spring-config root ConfigWebApplicationContext. |
ConfigLoaderServlet | Bootstrap servlet to start up jsf-spring-config root ConfigWebApplicationContext. |
ConfigWebApplicationContextUtils | Convenience methods to retrieve the jsf-spring-config root
ConfigWebApplicationContext for a given ServletContext
or FacesContext . |
This package and its sub-packages provides glue code for comprehensive integration of JSF (JavaServer Faces) and the Spring framework. This is done in a implementation independent way so that it can be used with any JSF implementation.
The main goal of the config package (module) is to define JSF's pluggable components (like UIComponents, Converters, Validators, ViewHandlers, NavigationHandlers, VariableResolver, ActionListener ...) in a spring-beans.dtd compatible config-file to enable dependency injection (and all the other features of Spring's ApplicationContext) on these components.
The following sample configuration files show you how to enable the above mentioned features.
The web.xml configuration:
<!--
The listener used to load the jsf-spring-config context (the pluggable JSF components).
-->
<listener>
<listener-class>de.mindmatters.faces.spring.config.ConfigLoaderListener</listener-class>
</listener>
<!--
The servlet used to load the jsf-spring-config context (the pluggable JSF components).
-->
<servlet>
<servlet-name>ConfigLoader</servlet-name>
<servlet-class>de.mindmatters.faces.spring.config.ConfigLoaderServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
|
|||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |