com.atlassian.confluence.servlet
Class SpringManagedServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.atlassian.confluence.servlet.SpringManagedServlet
- All Implemented Interfaces:
- Serializable, Servlet, ServletConfig
public class SpringManagedServlet
- extends HttpServlet
Servlet that defers all its execution to a Spring-bean. The bean is specified by the "springComponentName" servlet init
parameter, and must implement the ServletManager
interface.
Primarily used for the SOAP and XML-RPC servlets, as their lifecycle has to be managed through the Spring
container as plugins are reloaded.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COMPONENT_NAME_KEY
public static final String COMPONENT_NAME_KEY
- See Also:
- Constant Field Values
log
public static final org.apache.log4j.Category log
SpringManagedServlet
public SpringManagedServlet()
init
public void init(ServletConfig servletConfig)
throws ServletException
- Specified by:
init
in interface Servlet
- Overrides:
init
in class GenericServlet
- Throws:
ServletException
destroy
public void destroy()
- Specified by:
destroy
in interface Servlet
- Overrides:
destroy
in class GenericServlet
service
public void service(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
IOException
- Overrides:
service
in class HttpServlet
- Throws:
ServletException
IOException