Interface IWebApplicationFactory

  • All Known Implementing Classes:
    ContextParamWebApplicationFactory, GuiceWebApplicationFactory, SpringWebApplicationFactory

    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 Detail

      • destroy

        void destroy​(WicketFilter filter)
        Called when the filter instance that used this factory is destroyed
        Parameters:
        filter - the wicket filter