org.apache.cocoon.reading
Class ServiceableReader

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by org.apache.cocoon.reading.AbstractReader
          extended by org.apache.cocoon.reading.ServiceableReader
All Implemented Interfaces:
Poolable, Recyclable, Component, LogEnabled, Serviceable, Reader, SitemapModelComponent, SitemapOutputComponent
Direct Known Subclasses:
AxisRPCReader, DatabaseReader, JSPReader, ProxyReader

public abstract class ServiceableReader
extends AbstractReader
implements Serviceable

The serviceable reader will allow any Reader implementation that extends this to access other Avalon components.

Version:
CVS $Id: ServiceableReader.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Carsten Ziegeler

Field Summary
protected  ServiceManager manager
           
 
Fields inherited from class org.apache.cocoon.reading.AbstractReader
objectModel, out, parameters, resolver, source
 
Fields inherited from interface org.apache.cocoon.reading.Reader
ROLE
 
Constructor Summary
ServiceableReader()
           
 
Method Summary
 void service(ServiceManager manager)
           
 
Methods inherited from class org.apache.cocoon.reading.AbstractReader
getLastModified, getMimeType, recycle, setOutputStream, setup, shouldSetContentLength
 
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.reading.Reader
generate
 

Field Detail

manager

protected ServiceManager manager
Constructor Detail

ServiceableReader

public ServiceableReader()
Method Detail

service

public void service(ServiceManager manager)
             throws ServiceException
Specified by:
service in interface Serviceable
Throws:
ServiceException
See Also:
Serviceable.service(org.apache.avalon.framework.service.ServiceManager)


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.