org.apache.avalon.fortress.impl
Class DefaultECMContainer

java.lang.Object
  extended byorg.apache.avalon.framework.logger.AbstractLogEnabled
      extended byorg.apache.avalon.fortress.impl.AbstractContainer
          extended byorg.apache.avalon.fortress.impl.DefaultContainer
              extended byorg.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

Field Summary
 
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
 
Constructor Summary
DefaultECMContainer()
           
 
Method Summary
protected  void addComponent(java.lang.String role, java.lang.String hint, java.lang.String shortName, java.lang.String className, Configuration element)
           
 void configure(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, Configuration config)
           
 
Methods inherited from class org.apache.avalon.fortress.impl.DefaultContainer
getServiceManager, interpretProxy
 
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
 

Constructor Detail

DefaultECMContainer

public DefaultECMContainer()
Method Detail

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.