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:
- org.apache.avalon.fortress.Container, org.apache.avalon.framework.activity.Disposable, org.apache.avalon.framework.activity.Initializable, org.apache.avalon.framework.configuration.Configurable, org.apache.avalon.framework.context.Contextualizable, org.apache.avalon.framework.logger.LogEnabled, org.apache.avalon.framework.service.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 |
Method Summary |
protected void |
addComponent(java.lang.String role,
java.lang.String hint,
java.lang.String shortName,
java.lang.String className,
org.apache.avalon.framework.configuration.Configuration element)
|
void |
configure(org.apache.avalon.framework.configuration.Configuration conf)
Provide some validation for the core Cocoon components |
protected java.lang.Class |
getComponentHandlerClass(java.lang.String defaultClassName,
java.lang.String shortName)
|
protected java.lang.String |
getDefaultProxyType()
Return the default proxy type. |
protected void |
processSelector(java.lang.String role,
org.apache.avalon.framework.configuration.Configuration config)
|
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 org.apache.avalon.framework.logger.AbstractLogEnabled |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
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(org.apache.avalon.framework.configuration.Configuration conf)
throws org.apache.avalon.framework.configuration.ConfigurationException
- Provide some validation for the core Cocoon components
- Specified by:
configure
in interface org.apache.avalon.framework.configuration.Configurable
- Overrides:
configure
in class DefaultContainer
- Parameters:
conf
- The configuration
- Throws:
org.apache.avalon.framework.configuration.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,
org.apache.avalon.framework.configuration.Configuration config)
throws org.apache.avalon.framework.configuration.ConfigurationException
- Throws:
org.apache.avalon.framework.configuration.ConfigurationException
addComponent
protected void addComponent(java.lang.String role,
java.lang.String hint,
java.lang.String shortName,
java.lang.String className,
org.apache.avalon.framework.configuration.Configuration element)
throws org.apache.avalon.framework.configuration.ConfigurationException
- Throws:
org.apache.avalon.framework.configuration.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 © 2003-2008 Apache Software Foundation. All Rights Reserved.