|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cocoon.util.AbstractLogEnabled org.apache.cocoon.xml.AbstractXMLProducer org.apache.cocoon.generation.AbstractGenerator org.apache.cocoon.generation.ServiceableGenerator org.apache.cocoon.generation.StatusGenerator
Generates an XML representation of the current status of Cocoon.
Potted DTD:
<!ELEMENT statusinfo (group|value)*>
<!ATTLIST statusinfo
date CDATA #IMPLIED
host CDATA #IMPLIED
cocoon-version CDATA #IMPLIED
>
<!ELEMENT group (group|value)*>
<!ATTLIST group
name CDATA #IMPLIED
>
<!ELEMENT value (line)+>
<!ATTLIST value
name CDATA #REQUIRED
<!ELEMENT line (#PCDATA)+>
>
Field Summary | |
protected Context |
context
The component context. |
static String |
NAMESPACE
The XML namespace for the output document. |
protected org.apache.cocoon.configuration.Settings |
settings
The settings. |
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 avalonContext)
|
void |
dispose()
|
void |
generate()
Generate the status information in XML format. |
void |
service(ServiceManager serviceManager)
Set the current ServiceManager instance used by this
Serviceable . |
void |
setup(org.apache.cocoon.environment.SourceResolver resolver,
Map objectModel,
String src,
Parameters par)
|
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.cocoon.util.AbstractLogEnabled |
getLogger, setLogger |
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 org.apache.cocoon.configuration.Settings settings
protected StoreJanitor storeJanitor
protected Store storePersistent
Constructor Detail |
public StatusGenerator()
Method Detail |
public void contextualize(Context avalonContext) throws ContextException
contextualize
in interface Contextualizable
ContextException
Contextualizable.contextualize(org.apache.avalon.framework.context.Context)
public void configure(Configuration configuration) throws ConfigurationException
configure
in interface Configurable
ConfigurationException
Configurable.configure(org.apache.avalon.framework.configuration.Configuration)
public void service(ServiceManager serviceManager) throws ServiceException
ServiceManager
instance used by this
Serviceable
.
Need to get statistics about cache hits
service
in interface Serviceable
ServiceException
public void setup(org.apache.cocoon.environment.SourceResolver resolver, Map objectModel, String src, Parameters par) throws org.apache.cocoon.ProcessingException, SAXException, IOException
setup
in interface org.apache.cocoon.sitemap.SitemapModelComponent
org.apache.cocoon.ProcessingException
SAXException
IOException
public void dispose()
dispose
in interface Disposable
Disposable.dispose()
public void generate() throws SAXException, org.apache.cocoon.ProcessingException
generate
in interface org.apache.cocoon.generation.Generator
SAXException
- when there is a problem creating the output SAX events.
org.apache.cocoon.ProcessingException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |