This project has retired. For details please refer to its
Attic page .
SimpleSelectorProcessingNode (Cocoon Sitemap Implementation 1.0.0 API)
org.apache.cocoon.components.treeprocessor
Class SimpleSelectorProcessingNode
java.lang.Object
org.apache.cocoon.util.AbstractLogEnabled
org.apache.cocoon.components.treeprocessor.AbstractProcessingNode
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode
org.apache.cocoon.components.treeprocessor.SimpleParentProcessingNode
org.apache.cocoon.components.treeprocessor.SimpleSelectorProcessingNode
All Implemented Interfaces: Disposable , org.apache.cocoon.sitemap.ExecutionContext, org.apache.cocoon.util.location.Locatable, ProcessingNode , Serviceable , ThreadSafe
Direct Known Subclasses: ActTypeNode , MatchNode , PreparableMatchNode , SelectNode , SwitchSelectNode
public abstract class SimpleSelectorProcessingNode extends SimpleParentProcessingNode implements Serviceable , Disposable
Base class for processing nodes that are based on a component in a Selector (act, match, select, etc).
Version:
$Id: SimpleSelectorProcessingNode.html 1304280 2012-03-23 11:18:01Z ilgrosso $
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
SimpleSelectorProcessingNode
public SimpleSelectorProcessingNode (String selectorRole,
String componentType)
service
public void service (ServiceManager avalonManager)
throws ServiceException
Specified by: service
in interface Serviceable
Throws:
ServiceException
getComponent
protected Object getComponent ()
throws ServiceException
Get the component to be used by this node. That component may be cached for faster
execution if it's ThreadSafe. In any case, a call to releaseComponent(Object)
must
be done to release the component if needed.
Returns: the component to use
Throws:
ServiceException
- if component lookup fails
releaseComponent
protected void releaseComponent (Object obj)
Release the component used by this node (does nothing if it's the cached
ThreadSafe component)
Parameters: obj
- the component
dispose
public void dispose ()
Specified by: dispose
in interface Disposable
Copyright © 1999-2008 The Apache Software Foundation . All Rights Reserved.