| org.apache.cocoon.portal.coplet.adapter.impl.AbstractCopletAdapter
All known Subclasses: org.apache.cocoon.portal.coplet.adapter.impl.PortletAdapter, org.apache.cocoon.portal.coplet.adapter.impl.URICopletAdapter,
AbstractCopletAdapter | abstract public class AbstractCopletAdapter extends AbstractLogEnabled implements CopletAdapter,ThreadSafe,Serviceable(Code) | | This is the abstract base adapter to use pipelines as coplets
Configuration
buffer |
Shall the content of the coplet be buffered? If a coplet is
buffered, errors local to the coplet are caught and a not
availability notice is delivered instead. Buffering does not
cache responses for subsequent requests. |
|
boolean |
false |
timeout |
Max time in seconds content delivery may take. After a timeout,
a not availability notice is delivered. Setting a timeout automatically
turns on buffering. |
|
int |
null |
author: Carsten Ziegeler author: Volker Schmitt version: CVS $Id: AbstractCopletAdapter.java 433543 2006-08-22 06:22:54Z crossley $ |
Field Summary | |
protected ServiceManager | manager |
manager | protected ServiceManager manager(Code) | | The service manager
|
getConfiguration | protected Object getConfiguration(CopletInstanceData coplet, String key)(Code) | | Get a configuration value
First the coplet data is queried and if it doesn't provide an
attribute with the given name, the coplet base data is used.
|
getConfiguration | protected Object getConfiguration(CopletInstanceData coplet, String key, Object defaultValue)(Code) | | Get a configuration value
First the coplet data is queried and if it doesn't provide an
attribute with the given name, the coplet base data is used.
If no value is found the default value is returned.
|
renderErrorContent | protected boolean renderErrorContent(CopletInstanceData coplet, ContentHandler handler, Exception error) throws SAXException(Code) | | Render the error content for a coplet
Parameters: coplet - The coplet instance data Parameters: handler - The content handler Parameters: error - The exception that occured True if the error content has been rendered, otherwise false throws: SAXException - |
service | public void service(ServiceManager manager) throws ServiceException(Code) | | |
|
|