public interface ServletRegistrationManager
AppContext.
It is recommended to use this bean to guarantee correct work for all deployment options.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAME |
| Modifier and Type | Method and Description |
|---|---|
javax.servlet.Filter |
createFilter(org.springframework.context.ApplicationContext context,
java.lang.String filterClass)
Creates a filter of the given
filterClass with a classloader of the given context. |
javax.servlet.Servlet |
createServlet(org.springframework.context.ApplicationContext context,
java.lang.String servletClass)
Creates a servlet of the given
servletClass with a classloader of the given context. |
static final java.lang.String NAME
javax.servlet.Servlet createServlet(org.springframework.context.ApplicationContext context,
java.lang.String servletClass)
servletClass with a classloader of the given context.context - ApplicationContext instanceservletClass - Fully qualified name of the created servletServlet instancejavax.servlet.Filter createFilter(org.springframework.context.ApplicationContext context,
java.lang.String filterClass)
filterClass with a classloader of the given context.context - ApplicationContext instancefilterClass - Fully qualified name of the created filterFilter instance