public class ServletFactoryBean extends Object implements FactoryBean, ApplicationContextAware, ServletContextAware, BeanNameAware
| Constructor and Description |
|---|
ServletFactoryBean() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
Object |
getObject() |
Class |
getObjectType() |
void |
init() |
boolean |
isSingleton() |
void |
setApplicationContext(ApplicationContext applicationContext) |
void |
setBeanName(String beanName) |
void |
setConnections(Map connections) |
void |
setConnectionServiceNames(Map connectionServiceNames) |
void |
setContextParams(Map contextParams) |
void |
setContextPath(String contextPath)
The path to the blocks resources relative to the servlet context URL,
must start with an '/'.
|
void |
setEmbeddedServlet(javax.servlet.Servlet embeddedServlet) |
void |
setInitParams(Map initParams) |
void |
setMountPath(String mountPath) |
void |
setServiceName(String name) |
void |
setServletContext(javax.servlet.ServletContext servletContext) |
void |
setUrlHandlerFactoryCollector(org.apache.cocoon.jnet.URLHandlerFactoryCollector urlHandlerFactoryCollector) |
public void destroy()
public void setApplicationContext(ApplicationContext applicationContext) throws BeansException
setApplicationContext in interface ApplicationContextAwareBeansExceptionpublic void setServletContext(javax.servlet.ServletContext servletContext)
setServletContext in interface ServletContextAwarepublic void setBeanName(String beanName)
setBeanName in interface BeanNameAwarepublic void setEmbeddedServlet(javax.servlet.Servlet embeddedServlet)
embeddedServlet - the embeddedServlet to setpublic void setMountPath(String mountPath)
mountPath - public void setContextPath(String contextPath)
contextPath - public void setInitParams(Map initParams)
initParams - public void setContextParams(Map contextParams)
contextParams - the contextParams to setpublic void setConnections(Map connections)
connections - public void setConnectionServiceNames(Map connectionServiceNames)
connectionServiceNames - public void setServiceName(String name)
public Object getObject() throws Exception
getObject in interface FactoryBeanExceptionpublic Class getObjectType()
getObjectType in interface FactoryBeanpublic boolean isSingleton()
isSingleton in interface FactoryBeanpublic void setUrlHandlerFactoryCollector(org.apache.cocoon.jnet.URLHandlerFactoryCollector urlHandlerFactoryCollector)
Copyright © 1999-2012 The Apache Software Foundation. All Rights Reserved.