Class ServletToBeanProxy

java.lang.Object
org.pentaho.platform.web.servlet.ServletToBeanProxy
All Implemented Interfaces:
javax.servlet.Servlet

public class ServletToBeanProxy extends Object implements javax.servlet.Servlet
Delegates Servlet requests to a Spring-managed bean. Based in FilterToBeanProxy.
Author:
mlowery
  • Field Details

    • delegate

      protected javax.servlet.Servlet delegate
  • Constructor Details

    • ServletToBeanProxy

      public ServletToBeanProxy()
  • Method Details

    • destroy

      public void destroy()
      Specified by:
      destroy in interface javax.servlet.Servlet
    • service

      public void service(javax.servlet.ServletRequest req, javax.servlet.ServletResponse res) throws javax.servlet.ServletException, IOException
      Specified by:
      service in interface javax.servlet.Servlet
      Throws:
      javax.servlet.ServletException
      IOException
    • getServletConfig

      public javax.servlet.ServletConfig getServletConfig()
      Specified by:
      getServletConfig in interface javax.servlet.Servlet
    • getServletInfo

      public String getServletInfo()
      Specified by:
      getServletInfo in interface javax.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 interface javax.servlet.Servlet
      Throws:
      javax.servlet.ServletException