|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cocoon.core.container.spring.avalon.AvalonContextFactoryBean
This factory bean sets up the Avalon Context object. It is part of the Spring bridge for Avalon integration.
Field Summary | |
protected Context |
context
The Avalon context. |
protected ServletContext |
servletContext
The servlet context. |
protected org.apache.cocoon.configuration.Settings |
settings
The settings. |
Constructor Summary | |
AvalonContextFactoryBean()
|
Method Summary | |
Object |
getObject()
|
Class |
getObjectType()
|
protected void |
init()
Create the Avalon context object. |
boolean |
isSingleton()
|
void |
setServletContext(ServletContext sContext)
|
void |
setSettings(org.apache.cocoon.configuration.Settings settings)
Inject the settings object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected ServletContext servletContext
protected org.apache.cocoon.configuration.Settings settings
protected Context context
Constructor Detail |
public AvalonContextFactoryBean()
Method Detail |
public void setServletContext(ServletContext sContext)
setServletContext
in interface ServletContextAware
ServletContextAware.setServletContext(javax.servlet.ServletContext)
protected void init() throws Exception
Exception
public Object getObject() throws Exception
getObject
in interface FactoryBean
Exception
FactoryBean.getObject()
public Class getObjectType()
getObjectType
in interface FactoryBean
FactoryBean.getObjectType()
public boolean isSingleton()
isSingleton
in interface FactoryBean
FactoryBean.isSingleton()
public void setSettings(org.apache.cocoon.configuration.Settings settings)
settings
- The settings.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |