| java.lang.Object org.apache.cocoon.samples.parentcm.ParentComponentManager
ParentComponentManager | public class ParentComponentManager implements ComponentManager,LogEnabled,Initializable(Code) | | A sample parent component manager. This manager will lookup the configuration object
given by the initialization parameter in JNDI, use it to configure an ExcaliburComponentManager
and delegate any requests to it.
author: Leo Sutic version: CVS $Id: ParentComponentManager.java 433543 2006-08-22 06:22:54Z crossley $ |
Method Summary | |
public void | enableLogging(Logger logger) Provide component with a logger. | public boolean | hasComponent(String role) | public void | initialize() Initializes the CM by looking up the configuration object and using it to
configure the delegate. | public Component | lookup(String role) | public void | release(Component component) |
ParentComponentManager | public ParentComponentManager(String jndiName)(Code) | | |
enableLogging | public void enableLogging(Logger logger)(Code) | | Provide component with a logger.
Parameters: logger - the logger |
initialize | public void initialize() throws Exception(Code) | | Initializes the CM by looking up the configuration object and using it to
configure the delegate.
|
lookup | public Component lookup(String role) throws ComponentException(Code) | | |
release | public void release(Component component)(Code) | | |
|
|