org.apache.wicket.protocol.http
Class ContextParamWebApplicationFactory
java.lang.Object
org.apache.wicket.protocol.http.ContextParamWebApplicationFactory
- All Implemented Interfaces:
- IWebApplicationFactory
public class ContextParamWebApplicationFactory
- extends Object
- implements IWebApplicationFactory
Factory that creates application objects based on the class name specified in the
APP_CLASS_PARAM
context variable.
- Author:
- Igor Vaynberg (ivaynberg)
Field Summary |
static String |
APP_CLASS_PARAM
context parameter name that must contain the class name of the application |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
APP_CLASS_PARAM
public static final String APP_CLASS_PARAM
- context parameter name that must contain the class name of the application
- See Also:
- Constant Field Values
ContextParamWebApplicationFactory
public ContextParamWebApplicationFactory()
createApplication
public WebApplication createApplication(WicketFilter filter)
- Description copied from interface:
IWebApplicationFactory
- Create application object
- Specified by:
createApplication
in interface IWebApplicationFactory
- Parameters:
filter
- the wicket filter
- Returns:
- application object instance
createApplication
protected WebApplication createApplication(String applicationClassName)
- Instantiates the application instance.
- Parameters:
applicationClassName
- the classname of the application to create
- Returns:
- the web application
Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.