|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
|
+--org.apache.avalon.framework.logger.AbstractLoggable
|
+--org.apache.cocoon.Cocoon
The Cocoon Object is the main Kernel for the entire Cocoon system.
| Fields inherited from interface org.apache.cocoon.Processor |
ROLE |
| Constructor Summary | |
Cocoon()
Creates a new Cocoon instance. |
|
| Method Summary | |
void |
compose(org.apache.avalon.framework.component.ComponentManager manager)
Get the parent component manager. |
org.apache.avalon.framework.configuration.Configuration |
configure(org.apache.avalon.excalibur.component.ExcaliburComponentManager startupManager)
Configure this Cocoon instance. |
void |
contextualize(org.apache.avalon.framework.context.Context context)
Describe contextualize method here. |
protected void |
debug(Environment environment,
StreamPipeline pipeline,
EventPipeline eventPipeline)
Log debug information about the current environment. |
void |
dispose()
Dispose this instance |
void |
generateSitemap(Environment environment)
Process the given Environment to generate the sitemap.
|
int |
getActiveRequestCount()
Accessor for active request count |
void |
initialize()
The initialize method |
boolean |
modifiedSince(long date)
Queries the class to estimate its ergodic period termination. |
void |
precompile(java.lang.String fileName,
Environment environment,
java.lang.String markupLanguage,
java.lang.String programmingLanguage)
Process the given Environment to generate Java code for specified XSP files. |
boolean |
process(Environment environment)
Process the given Environment to produce the output. |
boolean |
process(Environment environment,
StreamPipeline pipeline,
EventPipeline eventPipeline)
Process the given Environment to assemble
a StreamPipeline and an EventPipeline. |
void |
setLogKitManager(org.apache.avalon.excalibur.logger.LogKitManager logKitManager)
The setLogKitManager method will get a LogKitManager
for further use. |
protected void |
setSystemProperties()
Sets required system properties. |
| Methods inherited from class org.apache.avalon.framework.logger.AbstractLoggable |
getLogger, setLogger, setupLogger, setupLogger, setupLogger |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Cocoon()
throws org.apache.avalon.framework.configuration.ConfigurationException
Cocoon instance.org.apache.avalon.framework.configuration.ConfigurationException - if an error occurs| Method Detail |
public void compose(org.apache.avalon.framework.component.ComponentManager manager)
compose in interface org.apache.avalon.framework.component.Composablemanager - the parent component manager. May be null
public void contextualize(org.apache.avalon.framework.context.Context context)
throws org.apache.avalon.framework.context.ContextException
contextualize method here.contextualize in interface org.apache.avalon.framework.context.Contextualizablecontext - a Context valueorg.apache.avalon.framework.context.ContextException - if an error occurspublic void setLogKitManager(org.apache.avalon.excalibur.logger.LogKitManager logKitManager)
setLogKitManager method will get a LogKitManager
for further use.setLogKitManager in interface org.apache.avalon.excalibur.logger.LogKitManageablelogKitManager - a LogKitManager value
public void initialize()
throws java.lang.Exception
initialize methodinitialize in interface org.apache.avalon.framework.activity.Initializablejava.lang.Exception - if an error occurs
public org.apache.avalon.framework.configuration.Configuration configure(org.apache.avalon.excalibur.component.ExcaliburComponentManager startupManager)
throws org.apache.avalon.framework.configuration.ConfigurationException,
org.apache.avalon.framework.context.ContextException
Cocoon instance.startupManager - an ExcaliburComponentManager valueConfiguration valueorg.apache.avalon.framework.configuration.ConfigurationException - if an error occursorg.apache.avalon.framework.context.ContextException - if an error occurspublic boolean modifiedSince(long date)
modifiedSince in interface Modifiabledate - a long valueboolean valueprotected void setSystemProperties()
public void dispose()
dispose in interface org.apache.avalon.framework.activity.Disposable
protected void debug(Environment environment,
StreamPipeline pipeline,
EventPipeline eventPipeline)
environment - an Environment valuepipeline - a StreamPipeline valueeventPipeline - an EventPipeline value
public boolean process(Environment environment)
throws java.lang.Exception
Environment to produce the output.process in interface Processorenvironment - an Environment valueboolean valuejava.lang.Exception - if an error occurs
public boolean process(Environment environment,
StreamPipeline pipeline,
EventPipeline eventPipeline)
throws java.lang.Exception
Environment to assemble
a StreamPipeline and an EventPipeline.process in interface Processorenvironment - an Environment valuepipeline - a StreamPipeline valueeventPipeline - an EventPipeline valueboolean valuejava.lang.Exception - if an error occurs
public void generateSitemap(Environment environment)
throws java.lang.Exception
Environment to generate the sitemap.
Delegated to the Processor component if it's a SitemapManager.environment - an Environment valuejava.lang.Exception - if an error occurs
public void precompile(java.lang.String fileName,
Environment environment,
java.lang.String markupLanguage,
java.lang.String programmingLanguage)
throws java.lang.Exception
Environment to generate Java code for specified XSP files.fileName - a String valueenvironment - an Environment valuejava.lang.Exception - if an error occurspublic int getActiveRequestCount()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||