This project has retired. For details please refer to its
Attic page.
ServletFactoryBean (Cocoon Servlet Service Implementation 1.3.3-SNAPSHOT API)
org.apache.cocoon.servletservice.spring
Class ServletFactoryBean
java.lang.Object
org.apache.cocoon.servletservice.spring.ServletFactoryBean
- All Implemented Interfaces:
- org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.FactoryBean, org.springframework.context.ApplicationContextAware, org.springframework.web.context.ServletContextAware
public class ServletFactoryBean
- extends Object
- implements org.springframework.beans.factory.FactoryBean, org.springframework.context.ApplicationContextAware, org.springframework.web.context.ServletContextAware, org.springframework.beans.factory.BeanNameAware
- Since:
- 1.0.0
- Version:
- $Id: ServletFactoryBean.html 1422810 2012-12-17 09:13:50Z ilgrosso $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServletFactoryBean
public ServletFactoryBean()
init
public void init()
throws Exception
- Throws:
Exception
destroy
public void destroy()
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
- Specified by:
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
setServletContext
public void setServletContext(javax.servlet.ServletContext servletContext)
- Specified by:
setServletContext
in interface org.springframework.web.context.ServletContextAware
setBeanName
public void setBeanName(String beanName)
- Specified by:
setBeanName
in interface org.springframework.beans.factory.BeanNameAware
setEmbeddedServlet
public void setEmbeddedServlet(javax.servlet.Servlet embeddedServlet)
- Parameters:
embeddedServlet
- the embeddedServlet to set
setMountPath
public void setMountPath(String mountPath)
- Parameters:
mountPath
-
setContextPath
public void setContextPath(String contextPath)
- The path to the blocks resources relative to the servlet context URL,
must start with an '/'.
- Parameters:
contextPath
-
setInitParams
public void setInitParams(Map initParams)
- Parameters:
initParams
-
setContextParams
public void setContextParams(Map contextParams)
- Parameters:
contextParams
- the contextParams to set
setConnections
public void setConnections(Map connections)
- Parameters:
connections
-
setConnectionServiceNames
public void setConnectionServiceNames(Map connectionServiceNames)
- Parameters:
connectionServiceNames
-
setServiceName
public void setServiceName(String name)
getObject
public Object getObject()
throws Exception
- Specified by:
getObject
in interface org.springframework.beans.factory.FactoryBean
- Throws:
Exception
getObjectType
public Class getObjectType()
- Specified by:
getObjectType
in interface org.springframework.beans.factory.FactoryBean
isSingleton
public boolean isSingleton()
- Specified by:
isSingleton
in interface org.springframework.beans.factory.FactoryBean
setUrlHandlerFactoryCollector
public void setUrlHandlerFactoryCollector(org.apache.cocoon.jnet.URLHandlerFactoryCollector urlHandlerFactoryCollector)
Copyright © 1999-2012 The Apache Software Foundation. All Rights Reserved.