org.apache.cocoon.generation
Class ServiceableGenerator
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.xml.AbstractXMLProducer
org.apache.cocoon.generation.AbstractGenerator
org.apache.cocoon.generation.ServiceableGenerator
- All Implemented Interfaces:
- Component, Disposable, Generator, LogEnabled, Poolable, Recyclable, Serviceable, SitemapModelComponent, XMLProducer
- Direct Known Subclasses:
- AbstractCopletGenerator, BasketGenerator, CalendarGenerator, ConfigurationGenerator, ConfigurationGenerator, DirectoryGenerator, EventCacheGenerator, FileGenerator, FragmentExtractorGenerator, GenericProxyGenerator, HTMLGenerator, HttpProxyGenerator, I18nCatalogueGenerator, JSPGenerator, JXTemplateGenerator, JXTemplateGenerator, LinkStatusGenerator, NekoHTMLGenerator, PortalGenerator, PortalGenerator, ProfilerGenerator, RequestGenerator, ScriptGenerator, SearchGenerator, SlopGenerator, StatisticsGenerator, StatusGenerator, StreamGenerator, SuggestionListGenerator, TextGenerator, TraversableGenerator, VelocityGenerator, WebServiceProxyGenerator, XMLDBCollectionGenerator, XMLDBGenerator, XMLProfileGenerator
- 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:
- CVS $Id: ServiceableGenerator.java 433543 2006-08-22 06:22:54Z crossley $
- Author:
- Carsten Ziegeler
| 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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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-2006 The Apache Software Foundation. All Rights Reserved.