|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.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 ContextualizableContextualizable.contextualize(Context)
public void service(ServiceManager componentManager)
throws ServiceException
service in interface ServiceableServiceExceptionServiceable.service(ServiceManager)
public void configure(Configuration config)
throws ConfigurationException
configure in interface ConfigurableConfigurationExceptionConfigurable.configure(Configuration)
public void initialize()
throws Exception
initialize in interface InitializableExceptionInitializable.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 | ||||||||||