Package org.apache.wicket.protocol.http
Interface IWebApplicationFactory
- All Known Implementing Classes:
ContextParamWebApplicationFactory
public interface IWebApplicationFactory
A 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
Modifier and TypeMethodDescriptioncreateApplication
(WicketFilter filter) Create application objectvoid
destroy
(WicketFilter filter) Called when the filter instance that used this factory is destroyed
-
Method Details
-
createApplication
Create application object- Parameters:
filter
- the wicket filter- Returns:
- application object instance
-
destroy
Called when the filter instance that used this factory is destroyed- Parameters:
filter
- the wicket filter
-