| java.lang.Object org.caramba.spring.SpringPageFactory
SpringPageFactory | public class SpringPageFactory implements PageFactory(Code) | | PageFactory that creates Pages, as they are defined in a Spring application context. This way
you can incect your pages with the needed dependencies.
author: Pieter Degraeuwe |
Method Summary | |
public Page | createPage(CarambaContext pContext, PageConfig pPageConfig) | protected ApplicationContext | getApplicatioContext(ServletContext pServletContext) Gets the ApplicationContext to be used to get the page / panel beans. |
createPage | public Page createPage(CarambaContext pContext, PageConfig pPageConfig) throws CarambaException(Code) | | |
getApplicatioContext | protected ApplicationContext getApplicatioContext(ServletContext pServletContext)(Code) | | Gets the ApplicationContext to be used to get the page / panel beans.
This method makes use of
WebApplicationContextUtils.getRequiredWebApplicationContext(javax.servlet.ServletContext) .
Note that these pages and panels must be declared as non-singletons (singleton=false) !/b>
Parameters: pServletContext - the ServletContext of the WebApplication the requested ApplicationContext |
|
|