|
JSF-Spring | |||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Interface Summary | |
---|---|
FacesWebApplicationContext | Provides configuration for managed beans. |
Class Summary | |
---|---|
ContextLoader | Performs the actual initialization work for the root application context. |
ContextLoaderListener | Bootstrap listener to start up JSF-Spring's root WebApplicationContext. |
ContextLoaderServlet | Bootstrap servlet to start up Spring's root WebApplicationContext. |
FacesWebApplicationContextUtils | Convenience methods to retrieve the faces root FacesWebApplicationContext for
a given 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 jsf-spring is to provide code to integrate the two frameworks as transparently as possible:
The following sample configuration files show you how to enable the above mentioned features.
The web.xml configuration:
<!--
The listener used to load the faces context (the managed and spring beans).
-->
<listener>
<listener-class>de.mindmatters.faces.spring.context.ContextLoaderListener</listener-class>
</listener>
<!--
The servlet used to load the faces context (the managed and spring beans).
-->
<servlet>
<servlet-name>ContextLoader</servlet-name>
<servlet-class>de.mindmatters.faces.spring.context.ContextLoaderServlet</servlet-class>
</servlet>
|
JSF-Spring | |||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |