Configuration Directive

Specification

A configuration directive is a configuration fragment that will be supplied to a component that implements the org.apache.avalon.configuration.Configurable interface. The attributes and content of a configuration element are application specific. The <configuration> element is the root element passed to the component.

Sample XML


  <!-- 
  a target that overrides the configuration and logging 
  priority of a component named "test3 in the containment  
  path /subcontainer/include
  -->

  <target path="/subcontainer/include/test3">
    <configuration>
      <source>using config.xml file</source>
    </configuration>
    <categories priority="DEBUG"/>
  </target>