org.apache.cocoon.reading
Class ServiceableReader

java.lang.Object
  extended byorg.apache.cocoon.util.AbstractLogEnabled
      extended byorg.apache.cocoon.reading.AbstractReader
          extended byorg.apache.cocoon.reading.ServiceableReader
All Implemented Interfaces:
Poolable, org.apache.cocoon.reading.Reader, Recyclable, Serviceable, org.apache.cocoon.sitemap.SitemapModelComponent, org.apache.cocoon.sitemap.SitemapOutputComponent

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:
$Id: ServiceableReader.html 1304280 2012-03-23 11:18:01Z ilgrosso $

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.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.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-2008 The Apache Software Foundation. All Rights Reserved.