Class AnnotationConfigSpringWebApplicationFactory

java.lang.Object
org.apache.wicket.spring.SpringWebApplicationFactory
org.apache.wicket.spring.AnnotationConfigSpringWebApplicationFactory
All Implemented Interfaces:
IWebApplicationFactory

A specialization of SpringWebApplicationFactory that uses AnnotationConfigWebApplicationContext

 <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.apache.wicket.spring.AnnotationConfigSpringWebApplicationFactory</param-value>
   </init-param>
   <init-param>
     <param-name>contextConfigLocation</param-name>
     <param-value>com.example.MySpringConfig</param-value>
   </init-param>
 </filter>