@Component(value="cuba_ServletRegistrationManager") public class ServletRegistrationManagerBean extends java.lang.Object implements ServletRegistrationManager
NAME
Constructor and Description |
---|
ServletRegistrationManagerBean() |
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 . |
public javax.servlet.Servlet createServlet(org.springframework.context.ApplicationContext context, java.lang.String servletClass)
ServletRegistrationManager
servletClass
with a classloader of the given context
.createServlet
in interface ServletRegistrationManager
context
- ApplicationContext
instanceservletClass
- Fully qualified name of the created servletServlet
instancepublic javax.servlet.Filter createFilter(org.springframework.context.ApplicationContext context, java.lang.String filterClass)
ServletRegistrationManager
filterClass
with a classloader of the given context
.createFilter
in interface ServletRegistrationManager
context
- ApplicationContext
instancefilterClass
- Fully qualified name of the created filterFilter
instance