|
||||||||
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.
Field Summary | |
org.apache.avalon.excalibur.component.ExcaliburComponentManager |
componentManager
The component manager. |
org.apache.avalon.framework.component.ComponentManager |
parentComponentManager
The parent component manager. |
Fields inherited from interface org.apache.cocoon.Processor |
ROLE |
Constructor Summary | |
Cocoon()
Create 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)
|
protected void |
debug(Environment environment,
StreamPipeline pipeline,
EventPipeline eventPipeline)
Log debug information about the current environment |
void |
dispose()
|
void |
generateSitemap(Environment environment)
Process the given Environment to generate the sitemap. |
void |
generateXSP(java.lang.String fileName,
Environment environment)
Process the given Environment to generate Java code for specified XSP files. |
void |
initialize()
|
boolean |
modifiedSince(long date)
Queries the class to estimate its ergodic period termination. |
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)
|
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 |
Field Detail |
public org.apache.avalon.excalibur.component.ExcaliburComponentManager componentManager
public org.apache.avalon.framework.component.ComponentManager parentComponentManager
Constructor Detail |
public Cocoon() throws org.apache.avalon.framework.configuration.ConfigurationException
Cocoon
instance.Method Detail |
public void compose(org.apache.avalon.framework.component.ComponentManager manager)
compose
in interface org.apache.avalon.framework.component.Composable
manager
- 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
in interface org.apache.avalon.framework.context.Contextualizable
public void setLogKitManager(org.apache.avalon.excalibur.logger.LogKitManager logKitManager)
setLogKitManager
in interface org.apache.avalon.excalibur.logger.LogKitManageable
public void initialize() throws java.lang.Exception
initialize
in interface org.apache.avalon.framework.activity.Initializable
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.public boolean modifiedSince(long date)
modifiedSince
in interface Modifiable
org.apache.cocoon.Modifiable
protected void setSystemProperties()
public void dispose()
dispose
in interface org.apache.avalon.framework.activity.Disposable
protected void debug(Environment environment, StreamPipeline pipeline, EventPipeline eventPipeline)
public boolean process(Environment environment) throws java.lang.Exception
Environment
to produce the output.process
in interface Processor
org.apache.cocoon.Processor
true
is returned.
If not match is found in the sitemap false
is returned.ResourceNotFoundException
- If a sitemap component tries
to access a resource which can not
be found, e.g. the generator
ConnectionResetException If the connection was resetpublic boolean process(Environment environment, StreamPipeline pipeline, EventPipeline eventPipeline) throws java.lang.Exception
Environment
to assemble
a StreamPipeline
and an EventPipeline
.process
in interface Processor
public void generateSitemap(Environment environment) throws java.lang.Exception
Environment
to generate the sitemap.public void generateXSP(java.lang.String fileName, Environment environment) throws java.lang.Exception
Environment
to generate Java code for specified XSP files.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |