|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.xml.AbstractXMLProducer
org.apache.cocoon.generation.AbstractGenerator
org.apache.cocoon.generation.ServiceableGenerator
org.apache.cocoon.generation.StatusGenerator
public class StatusGenerator
| Field Summary | |
|---|---|
protected Context |
context
The component context. |
static String |
NAMESPACE
The XML namespace for the output document. |
protected StoreJanitor |
storeJanitor
The StoreJanitor used to get cache statistics |
protected Store |
storePersistent
The persistent store |
protected static String |
XLINK_NS
The XML namespace for xlink |
protected static String |
XLINK_PREFIX
The namespace prefix for xlink namespace |
| Fields inherited from class org.apache.cocoon.generation.ServiceableGenerator |
|---|
manager |
| Fields inherited from class org.apache.cocoon.generation.AbstractGenerator |
|---|
objectModel, parameters, resolver, source |
| Fields inherited from class org.apache.cocoon.xml.AbstractXMLProducer |
|---|
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer |
| Fields inherited from interface org.apache.cocoon.generation.Generator |
|---|
ROLE |
| Constructor Summary | |
|---|---|
StatusGenerator()
|
|
| Method Summary | |
|---|---|
void |
configure(Configuration configuration)
|
void |
contextualize(Context context)
|
void |
dispose()
Release all resources. |
void |
generate()
Generate the status information in XML format. |
void |
service(ServiceManager manager)
Set the current ServiceManager instance used by this
Serviceable. |
void |
setup(SourceResolver resolver,
Map objectModel,
String src,
Parameters par)
Set the SourceResolver, object model Map,
the source and sitemap Parameters used to process the request. |
| Methods inherited from class org.apache.cocoon.generation.AbstractGenerator |
|---|
recycle |
| Methods inherited from class org.apache.cocoon.xml.AbstractXMLProducer |
|---|
setConsumer, setContentHandler, setLexicalHandler |
| Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled |
|---|
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.cocoon.xml.XMLProducer |
|---|
setConsumer |
| Field Detail |
|---|
public static final String NAMESPACE
protected static final String XLINK_NS
protected static final String XLINK_PREFIX
protected Context context
protected StoreJanitor storeJanitor
protected Store storePersistent
| Constructor Detail |
|---|
public StatusGenerator()
| Method Detail |
|---|
public void contextualize(Context context)
throws ContextException
contextualize in interface ContextualizableContextException
public void configure(Configuration configuration)
throws ConfigurationException
configure in interface ConfigurableConfigurationException
public void service(ServiceManager manager)
throws ServiceException
ServiceManager instance used by this
Serviceable.
Need to get statistics about cache hits
service in interface Serviceableservice in class ServiceableGeneratorServiceException
public void setup(SourceResolver resolver,
Map objectModel,
String src,
Parameters par)
throws ProcessingException,
SAXException,
IOException
AbstractGeneratorSourceResolver, object model Map,
the source and sitemap Parameters used to process the request.
setup in interface SitemapModelComponentsetup in class AbstractGeneratorProcessingException
SAXException
IOExceptionpublic void dispose()
ServiceableGenerator
dispose in interface Disposabledispose in class ServiceableGeneratorDisposable.dispose()
public void generate()
throws SAXException,
ProcessingException
generate in interface GeneratorSAXException - when there is a problem creating the output SAX events.
ProcessingException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||