org.apache.cocoon.components.language.generator
Class GeneratorSelector
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.avalon.excalibur.component.AbstractDualLogEnabled
org.apache.avalon.excalibur.component.ExcaliburComponentSelector
org.apache.cocoon.components.language.generator.GeneratorSelector
- All Implemented Interfaces:
- RoleManageable, LoggerManageable, LogKitManageable, Disposable, Initializable, Component, ComponentSelector, Composable, Configurable, Contextualizable, LogEnabled, Loggable, ThreadSafe, Instrumentable, InstrumentManageable
public class GeneratorSelector
- extends ExcaliburComponentSelector
This interface is the common base of all Compiled Components. This
includes Sitemaps and XSP Pages
- Version:
- $Id: GeneratorSelector.html 1304258 2012-03-23 10:09:27Z ilgrosso $
- Author:
- Berin Loritsch, Vadim Gritsenko
Methods inherited from class org.apache.avalon.excalibur.component.ExcaliburComponentSelector |
addComponent, addComponentInstance, canRelease, configure, getChildInstrumentables, getComponentHandler, getComponentHandlers, getInstrumentableName, getInstruments, hasComponent, initialize, setInstrumentableName, setInstrumentManager |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ROLE
public static final String ROLE
- See Also:
- Constant Field Values
manager
protected ComponentManager manager
- The component manager
context
protected Context context
roles
protected RoleManager roles
componentHandlers
protected Map componentHandlers
GeneratorSelector
public GeneratorSelector()
contextualize
public void contextualize(Context context)
- Specified by:
contextualize
in interface Contextualizable
- Overrides:
contextualize
in class ExcaliburComponentSelector
setRoleManager
public void setRoleManager(RoleManager roleMgr)
- Specified by:
setRoleManager
in interface RoleManageable
- Overrides:
setRoleManager
in class ExcaliburComponentSelector
setLogKitManager
public void setLogKitManager(LogKitManager logkit)
- Configure the LogKitManager
- Specified by:
setLogKitManager
in interface LogKitManageable
- Overrides:
setLogKitManager
in class ExcaliburComponentSelector
setLoggerManager
public void setLoggerManager(LoggerManager logkit)
- Configure the LoggerManager.
- Specified by:
setLoggerManager
in interface LoggerManageable
- Overrides:
setLoggerManager
in class ExcaliburComponentSelector
compose
public void compose(ComponentManager manager)
throws ComponentException
- Specified by:
compose
in interface Composable
- Overrides:
compose
in class ExcaliburComponentSelector
- Throws:
ComponentException
select
public Component select(Object hint)
throws ComponentException
- Specified by:
select
in interface ComponentSelector
- Overrides:
select
in class ExcaliburComponentSelector
- Throws:
ComponentException
release
public void release(Component component)
- Specified by:
release
in interface ComponentSelector
- Overrides:
release
in class ExcaliburComponentSelector
addGenerator
public void addGenerator(ComponentManager newManager,
Object hint,
Program generator)
throws Exception
- Throws:
Exception
removeGenerator
public void removeGenerator(Object hint)
dispose
public void dispose()
- Specified by:
dispose
in interface Disposable
- Overrides:
dispose
in class ExcaliburComponentSelector
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.