wicket.spring |
|
Java Source File Name | Type | Comment |
Bean.java | Class | |
ISpringContextLocator.java | Interface | Interface representing object that can locate a spring context. |
SpringBeanLocator.java | Class | Implementation of
IProxyTargetLocator that can locate beans within a
spring application context. |
SpringBeanLocatorTest.java | Class | |
SpringWebApplication.java | Class | Base class for spring aware wicket web application object. |
SpringWebApplicationFactory.java | Class | Implementation of IWebApplicationFactory that pulls the WebApplication object
out of spring application context.
Configuration example:
<servlet>
<servlet-name>phonebook</servlet-name>
<servlet-class>wicket.protocol.http.WicketServlet</servlet-class>
<init-param>
<param-name>applicationFactoryClassName</param-name>
<param-value>wicket.contrib.spring.SpringWebApplicationFactory</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
beanName init parameter can be used if there are multiple WebApplications defined
on the spring application context. |