This project has retired. For details please refer to its
Attic page .
SimpleSelectorProcessingNode (Cocoon API 2.1.12-dev [March 20 2012])
org.apache.cocoon.components.treeprocessor
Class SimpleSelectorProcessingNode
java.lang.Object
org.apache.avalon.framework.logger.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: LogEnabled , ThreadSafe , ProcessingNode , Locatable
Direct Known Subclasses: ActionSetNode , ActTypeNode , MatchNode , PreparableMatchNode , SelectNode , SwitchSelectNode
public abstract class SimpleSelectorProcessingNode extends SimpleParentProcessingNode
Version:
CVS $Id: SimpleSelectorProcessingNode.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Sylvain Wallez
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
componentName
protected String componentName
The node component name (e.g. action name, selector name, etc)
selector
protected ComponentSelector selector
Selector where to get components from
SimpleSelectorProcessingNode
public SimpleSelectorProcessingNode (String componentName)
setSelector
public void setSelector (ComponentSelector selector)
throws ComponentException
Throws:
ComponentException
getThreadSafeComponent
protected Component getThreadSafeComponent ()
throws ComponentException
Tests if the component designated by this node using the selector and component name
is ThreadSafe
, and return it if true.
Note : this method must be called after setSelector()
.
Throws:
ComponentException
getThreadSafeComponent
protected Component getThreadSafeComponent (String name)
throws ComponentException
Tests if the component designated by this node using the selector and component name
is ThreadSafe
, and return it if true.
Note : this method must be called after setSelector()
.
Throws:
ComponentException
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.