Configuration Directive

Description

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

   <container name="container">
     <!-- ... -->
     <container name="subcontainer">
       <!-- ... -->
       <component name="test2" class="AnotherComponent">
         <!-- will be passed into configurable() method -->
         <configuration>
           <colour>red</color>
         </configuration>
       </component>
     </container>
   </container>