Package org.apache.wicket.protocol.http
Interface IWebApplicationFactory
-
- All Known Implementing Classes:
ContextParamWebApplicationFactory
public interface IWebApplicationFactoryA factory interface used by wicket filter to create application objects. Configure your webapplication to use this factory in web.xml like:<filter> <filter-name>MyApplication</filter-name> <filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class> <init-param> <param-name>applicationFactoryClassName</param-name> <param-value>org.mycompany.MyWebApplicationFactory</param-value> </init-param> </filter>- Author:
- Igor Vaynberg (ivaynberg)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WebApplicationcreateApplication(WicketFilter filter)Create application objectvoiddestroy(WicketFilter filter)Called when the filter instance that used this factory is destroyed
-
-
-
Method Detail
-
createApplication
WebApplication createApplication(WicketFilter filter)
Create application object- Parameters:
filter- the wicket filter- Returns:
- application object instance
-
destroy
void destroy(WicketFilter filter)
Called when the filter instance that used this factory is destroyed- Parameters:
filter- the wicket filter
-
-