public class ContextParamWebApplicationFactory extends Object implements IWebApplicationFactory
APP_CLASS_PARAM
context variable.Modifier and Type | Field and Description |
---|---|
static String |
APP_CLASS_PARAM
context parameter name that must contain the class name of the application
|
Constructor and Description |
---|
ContextParamWebApplicationFactory() |
Modifier and Type | Method and Description |
---|---|
protected WebApplication |
createApplication(String applicationClassName)
Instantiates the application instance.
|
WebApplication |
createApplication(WicketFilter filter)
Create application object
|
void |
destroy(WicketFilter filter)
Called when the filter instance that used this factory is destroyed
|
public static final String APP_CLASS_PARAM
public WebApplication createApplication(WicketFilter filter)
IWebApplicationFactory
createApplication
in interface IWebApplicationFactory
filter
- the wicket filterprotected WebApplication createApplication(String applicationClassName)
applicationClassName
- the classname of the application to createpublic void destroy(WicketFilter filter)
destroy
in interface IWebApplicationFactory
filter
- the wicket filterCopyright © 2006–2022 Apache Software Foundation. All rights reserved.