org.apache.cocoon.core.container.spring.avalon
Class ConfigurationInfo

java.lang.Object
  extended byorg.apache.cocoon.core.container.spring.avalon.ConfigurationInfo

public class ConfigurationInfo
extends Object

This bean stores information about a complete Avalon style configuration. It can be passed to an XmlConfigCreator to create a Spring like configuration.

Since:
2.2
Version:
$Id: ConfigurationInfo.html 1304280 2012-03-23 11:18:01Z ilgrosso $

Field Summary
protected  String rootLogger
          Root logger.
 
Constructor Summary
ConfigurationInfo()
           
ConfigurationInfo(ConfigurationInfo parent)
           
 
Method Summary
 void addComponent(ComponentInfo info)
           
 void addImport(String uri)
           
 void addRole(String role, ComponentInfo info)
           
 void clearRoles()
           
 Map getComponents()
           
 List getImports()
           
 Map getKeyClassNames()
           
 ComponentInfo getRole(String role)
           
 String getRoleForName(String alias)
           
 Collection getRoles()
           
 String getRootLogger()
           
 Map getShorthands()
           
 void removeRole(String role)
           
 void setRootLogger(String rootLogger)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rootLogger

protected String rootLogger
Root logger.

Constructor Detail

ConfigurationInfo

public ConfigurationInfo()

ConfigurationInfo

public ConfigurationInfo(ConfigurationInfo parent)
Method Detail

getComponents

public Map getComponents()

getRootLogger

public String getRootLogger()

setRootLogger

public void setRootLogger(String rootLogger)

addComponent

public void addComponent(ComponentInfo info)

getRoles

public Collection getRoles()

addRole

public void addRole(String role,
                    ComponentInfo info)

getRole

public ComponentInfo getRole(String role)

removeRole

public void removeRole(String role)

clearRoles

public void clearRoles()

getShorthands

public Map getShorthands()

getKeyClassNames

public Map getKeyClassNames()

addImport

public void addImport(String uri)

getImports

public List getImports()

getRoleForName

public String getRoleForName(String alias)


Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.