| java.lang.Object org.caramba.spring.SpringPanelFactory
SpringPanelFactory | public class SpringPanelFactory implements PanelFactory(Code) | | A PageFactory implementation is responsible to create a Page instance with the given Pageconfig.
author: Pieter Degraeuwe See Also: org.caramba.config.DefaultPanelFactory |
Method Summary | |
public Panel | createPanel(CarambaContext pContext, PanelConfig pPanelConfig) | protected ApplicationContext | getApplicatioContext(ServletContext pServletContext) Gets the ApplicationContext to be used to get the page / panel beans. |
createPanel | public Panel createPanel(CarambaContext pContext, PanelConfig pPanelConfig) 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
org.springframework.web.context.support.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 |
|
|