org.apache.cocoon.generation
Class ServiceableGenerator
java.lang.Object
org.apache.cocoon.util.AbstractLogEnabled
org.apache.cocoon.xml.AbstractXMLProducer
org.apache.cocoon.generation.AbstractGenerator
org.apache.cocoon.generation.ServiceableGenerator
- All Implemented Interfaces:
- Disposable, org.apache.cocoon.generation.Generator, Poolable, Recyclable, Serviceable, org.apache.cocoon.sitemap.SitemapModelComponent, org.apache.cocoon.xml.XMLProducer
- public abstract class ServiceableGenerator
- extends AbstractGenerator
- implements Serviceable, Disposable
A default implementation that can be used for writing own generators.
- Since:
- 2.1.1
- Version:
- $Id: ServiceableGenerator.html 1304280 2012-03-23 11:18:01Z ilgrosso $
Fields inherited from interface org.apache.cocoon.generation.Generator |
ROLE |
Method Summary |
void |
dispose()
Release all resources. |
void |
service(ServiceManager manager)
Set the current ServiceManager instance used by this
Serviceable . |
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.generation.Generator |
generate |
Methods inherited from interface org.apache.cocoon.xml.XMLProducer |
setConsumer |
manager
protected ServiceManager manager
- The service manager instance
ServiceableGenerator
public ServiceableGenerator()
service
public void service(ServiceManager manager)
throws ServiceException
- Set the current
ServiceManager
instance used by this
Serviceable
.
- Specified by:
service
in interface Serviceable
- Throws:
ServiceException
dispose
public void dispose()
- Release all resources.
- Specified by:
dispose
in interface Disposable
Copyright © 1999-2008 The Apache Software Foundation. All Rights Reserved.