org.apache.cocoon.components.treeprocessor
Class SimpleSelectorProcessingNode
java.lang.Object
|
+--org.apache.avalon.framework.logger.AbstractLoggable
|
+--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:
- org.apache.avalon.framework.logger.Loggable, ProcessingNode, org.apache.avalon.framework.thread.ThreadSafe
- Direct Known Subclasses:
- ActionSetNode, ActTypeNode, MatchNode, PreparableMatchNode, SelectNode
- public abstract class SimpleSelectorProcessingNode
- extends SimpleParentProcessingNode
- Version:
- CVS $Id: SimpleSelectorProcessingNode.java,v 1.1 2002/03/05 08:26:22 sylvain Exp $
- Author:
- Sylvain Wallez
Field Summary |
protected java.lang.String |
componentName
The node component name (e.g. action name, selector name, etc) |
protected org.apache.avalon.framework.component.ComponentSelector |
selector
Selector where to get components from |
Method Summary |
protected org.apache.avalon.framework.component.Component |
getThreadSafeComponent()
Tests is the component designated by this node using the selector and component name
is ThreadSafe , and return it if true.
|
protected org.apache.avalon.framework.component.Component |
getThreadSafeComponent(java.lang.String name)
Tests is the component designated by this node using the selector and component name
is ThreadSafe , and return it if true.
|
void |
setSelector(org.apache.avalon.framework.component.ComponentSelector selector)
|
Methods inherited from class org.apache.avalon.framework.logger.AbstractLoggable |
getLogger, setLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
componentName
protected java.lang.String componentName
- The node component name (e.g. action name, selector name, etc)
selector
protected org.apache.avalon.framework.component.ComponentSelector selector
- Selector where to get components from
SimpleSelectorProcessingNode
public SimpleSelectorProcessingNode(java.lang.String componentName)
setSelector
public void setSelector(org.apache.avalon.framework.component.ComponentSelector selector)
throws org.apache.avalon.framework.component.ComponentException
getThreadSafeComponent
protected org.apache.avalon.framework.component.Component getThreadSafeComponent()
throws org.apache.avalon.framework.component.ComponentException
- Tests is 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()
.
getThreadSafeComponent
protected org.apache.avalon.framework.component.Component getThreadSafeComponent(java.lang.String name)
throws org.apache.avalon.framework.component.ComponentException
- Tests is 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()
.
Copyright © 1999-2002 Apache Software Foundation. All Rights Reserved.