org.apache.cocoon.servletservice
Class ServletService
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.apache.cocoon.servletservice.ServletService
- All Implemented Interfaces:
- ApplicationContextAware, BeanNameAware, DisposableBean, InitializingBean, Serializable, Servlet, ServletConfig, ServletContextAware, ServletServiceContextAware
- public class ServletService
- extends HttpServlet
- implements ApplicationContextAware, ServletContextAware, BeanNameAware, InitializingBean, DisposableBean, ServletServiceContextAware
- Version:
- $Id: BlockServlet.java 496060 2007-01-14 11:03:06Z danielf $
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServletService
public ServletService()
init
public void init(ServletConfig servletConfig)
throws ServletException
- Specified by:
init in interface Servlet
- Throws:
ServletException
createEmbeddedServlet
protected Servlet createEmbeddedServlet(String embeddedServletClassName,
ServletConfig servletConfig)
throws ServletException
- Creates and initializes the embedded servlet
- Throws:
ServletException
service
protected void service(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
IOException
- Throws:
ServletException
IOException
destroy
public void destroy()
- Specified by:
destroy in interface DisposableBean
getServletServiceContext
public ServletContext getServletServiceContext()
- Description copied from interface:
ServletServiceContextAware
- The servlet context used for inter servlet service communication
- Specified by:
getServletServiceContext in interface ServletServiceContextAware
- Returns:
- the servletServiceContext
setApplicationContext
public void setApplicationContext(ApplicationContext applicationContext)
throws BeansException
- Specified by:
setApplicationContext in interface ApplicationContextAware
- Throws:
BeansException
setServletContext
public void setServletContext(ServletContext servletContext)
- Specified by:
setServletContext in interface ServletContextAware
setBeanName
public void setBeanName(String beanName)
- Specified by:
setBeanName in interface BeanNameAware
setMountPath
public void setMountPath(String mountPath)
getMountPath
public String getMountPath()
setBlockContextURL
public void setBlockContextURL(String blockContextURL)
- The path to the blocks resources relative to the servlet context URL,
must start with an '/'.
- Parameters:
blockContextURL -
setServletClass
public void setServletClass(String servletClass)
setProperties
public void setProperties(Map properties)
setConnections
public void setConnections(Map connections)
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- Specified by:
afterPropertiesSet in interface InitializingBean
- Throws:
Exception
Copyright © 1999-2007 The Apache Software Foundation. All Rights Reserved.