org.apache.cocoon.components.language.generator
Class GeneratorSelector
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.components.language.generator.GeneratorSelector
- All Implemented Interfaces:
- Contextualizable, LogEnabled, Serviceable, ThreadSafe
- public class GeneratorSelector
- extends AbstractLogEnabled
- implements ThreadSafe, Contextualizable, Serviceable
This interface is the common base of all Compiled Components. This
includes Sitemaps and XSP Pages
- Version:
- CVS $Id: GeneratorSelector.java 125152 2005-01-14 09:05:24Z cziegeler $
- Author:
- Berin Loritsch, Vadim Gritsenko
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ROLE
public static String ROLE
componentMapping
protected final Map componentMapping
- Static component mapping handlers.
componentHandlers
protected final Map componentHandlers
- Used to map roles to ComponentHandlers.
classManager
protected ClassLoaderManager classManager
GeneratorSelector
public GeneratorSelector()
contextualize
public void contextualize(Context context)
- Specified by:
contextualize
in interface Contextualizable
service
public void service(ServiceManager manager)
throws ServiceException
- Specified by:
service
in interface Serviceable
- Throws:
ServiceException
select
public Object select(Object hint)
throws ServiceException
- Throws:
ServiceException
release
public void release(Object component)
addGenerator
public void addGenerator(ServiceManager newManager,
Object hint,
Program generator)
throws Exception
- Throws:
Exception
removeGenerator
public void removeGenerator(Object hint)
dispose
public void dispose()
Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.