org.apache.avalon.fortress.impl
Class DefaultECMContainer
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.avalon.fortress.impl.AbstractContainer
org.apache.avalon.fortress.impl.DefaultContainer
org.apache.avalon.fortress.impl.DefaultECMContainer
- All Implemented Interfaces:
- Configurable, Container, Contextualizable, Disposable, Initializable, LogEnabled, Serviceable
- public class DefaultECMContainer
- extends DefaultContainer
Customize the Fortress container to handle ECM compatibility
- Version:
- CVS $ Revision: 1.1 $
- Author:
- The Avalon Team
Fields inherited from class org.apache.avalon.fortress.impl.AbstractContainer |
DEFAULT_ENTRY, m_classLoader, m_commandSink, m_componentContext, m_components, m_context, m_extManager, m_instrumentManager, m_loggerManager, m_mapper, m_metaManager, m_poolManager, m_serviceManager, m_shutDownOrder, SELECTOR_ENTRY |
Fields inherited from interface org.apache.avalon.fortress.Container |
ROLE |
Methods inherited from class org.apache.avalon.fortress.impl.AbstractContainer |
addComponent, contextualize, createHintMap, createObjectFactory, dispose, get, getProxyManager, getRoleKey, has, initialize, provideComponentContext, provideServiceManager, service, setProxyManager |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultECMContainer
public DefaultECMContainer()
configure
public void configure(Configuration conf)
throws ConfigurationException
- Provide some validation for the core Cocoon components
- Specified by:
configure
in interface Configurable
- Overrides:
configure
in class DefaultContainer
- Parameters:
conf
- The configuration
- Throws:
ConfigurationException
- if the coniguration is invalid
getComponentHandlerClass
protected java.lang.Class getComponentHandlerClass(java.lang.String defaultClassName,
java.lang.String shortName)
throws java.lang.Exception
- Throws:
java.lang.Exception
processSelector
protected void processSelector(java.lang.String role,
Configuration config)
throws ConfigurationException
- Throws:
ConfigurationException
addComponent
protected void addComponent(java.lang.String role,
java.lang.String hint,
java.lang.String shortName,
java.lang.String className,
Configuration element)
throws ConfigurationException
- Throws:
ConfigurationException
getDefaultProxyType
protected java.lang.String getDefaultProxyType()
- Return the default proxy type.
This method can be overwritten in subclasses to provide a different
default proxy type.
Copyright © 1997-2005 The Apache Software Foundation. All Rights Reserved.