|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cocoon.util.AbstractLogEnabled org.apache.cocoon.components.treeprocessor.NodeBuilderSelector
This is the selector used to select/create node builders.
Nested Class Summary | |
protected static class |
NodeBuilderSelector.BuilderInfo
|
Field Summary | |
protected Map |
componentInfos
Used to map roles to component infos. |
protected Context |
context
The application context for components |
protected ServiceManager |
serviceManager
The application context for components |
protected Map |
singletons
All singletons. |
Constructor Summary | |
NodeBuilderSelector()
|
Method Summary | |
void |
configure(Configuration config)
|
void |
contextualize(Context avalonContext)
|
protected Object |
createComponent(NodeBuilderSelector.BuilderInfo info)
Create a new component. |
Object |
getBuilder(String name)
|
void |
initialize()
|
void |
service(ServiceManager componentManager)
|
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 |
Field Detail |
protected ServiceManager serviceManager
protected Context context
protected final Map componentInfos
protected final Map singletons
Constructor Detail |
public NodeBuilderSelector()
Method Detail |
public void contextualize(Context avalonContext)
contextualize
in interface Contextualizable
Contextualizable.contextualize(Context)
public void service(ServiceManager componentManager) throws ServiceException
service
in interface Serviceable
ServiceException
Serviceable.service(ServiceManager)
public void configure(Configuration config) throws ConfigurationException
configure
in interface Configurable
ConfigurationException
Configurable.configure(Configuration)
public void initialize() throws Exception
initialize
in interface Initializable
Exception
Initializable.initialize()
public Object getBuilder(String name) throws Exception
Exception
protected Object createComponent(NodeBuilderSelector.BuilderInfo info) throws Exception
Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |