Servlet which is design to integrate with web frameworks other than Spring MVC. Unlike BaseImpalaServlet
it does not need a read-write lock to synchronize updates to the ApplicationContext
because it shares the application context's life cycle. In it's service
method, it then passes control to the the wired in delegateServlet
instance, which itself needs to be set up using ServletFactoryBean
.
In order to set up InternalFrameworkIntegrationServlet
you don't need an entry in web.xml
. Instead, it is automatically published to the ServletContext
using a name based on the wired in servletName, and found using a ModuleProxyServlet
instance registered in web.xml
. This allows you to add and remove modules as you please without having to modify web.xml (which would require the entire web application to reload). To configure InternalFrameworkIntegrationServlet
you will need to use InternalFrameworkIntegrationServletFactoryBean
@see ModuleProxyServlet
@see InternalFrameworkIntegrationServletFactoryBean
@author Phil Zoio
|
|
|
|