Package org.pentaho.platform.web.servlet
Class ServletToBeanProxy
java.lang.Object
org.pentaho.platform.web.servlet.ServletToBeanProxy
- All Implemented Interfaces:
javax.servlet.Servlet
Delegates Servlet requests to a Spring-managed bean. Based in
FilterToBeanProxy
.- Author:
- mlowery
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
destroy()
protected org.springframework.context.ApplicationContext
getContext
(javax.servlet.ServletConfig config) javax.servlet.ServletConfig
void
init
(javax.servlet.ServletConfig config) void
service
(javax.servlet.ServletRequest req, javax.servlet.ServletResponse res)
-
Field Details
-
delegate
protected javax.servlet.Servlet delegate
-
-
Constructor Details
-
ServletToBeanProxy
public ServletToBeanProxy()
-
-
Method Details
-
destroy
public void destroy()- Specified by:
destroy
in interfacejavax.servlet.Servlet
-
service
public void service(javax.servlet.ServletRequest req, javax.servlet.ServletResponse res) throws javax.servlet.ServletException, IOException - Specified by:
service
in interfacejavax.servlet.Servlet
- Throws:
javax.servlet.ServletException
IOException
-
getServletConfig
public javax.servlet.ServletConfig getServletConfig()- Specified by:
getServletConfig
in interfacejavax.servlet.Servlet
-
getServletInfo
- Specified by:
getServletInfo
in interfacejavax.servlet.Servlet
-
getContext
protected org.springframework.context.ApplicationContext getContext(javax.servlet.ServletConfig config) -
init
public void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletException - Specified by:
init
in interfacejavax.servlet.Servlet
- Throws:
javax.servlet.ServletException
-