|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wicket.protocol.http.ContextParamWebApplicationFactory
public class ContextParamWebApplicationFactory
Factory that creates application objects based on the class name specified in the
APP_CLASS_PARAM
context variable.
Field Summary | |
---|---|
static String |
APP_CLASS_PARAM
context parameter name that must contain the class name of the application |
Constructor Summary | |
---|---|
ContextParamWebApplicationFactory()
|
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String APP_CLASS_PARAM
Constructor Detail |
---|
public ContextParamWebApplicationFactory()
Method Detail |
---|
public WebApplication createApplication(WicketFilter filter)
IWebApplicationFactory
createApplication
in interface IWebApplicationFactory
filter
- the wicket filter
protected WebApplication createApplication(String applicationClassName)
applicationClassName
- the classname of the application to create
public void destroy(WicketFilter filter)
destroy
in interface IWebApplicationFactory
filter
- the wicket filter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |