Configuration factory plugs into the container using
component customization mechanism,
and provides components that declare a dependency on a DNA Configuration (using a
org.jcontainer.dna.Configuration component parameter) with an initialized
configuration object.
The contents of the configuration object are read from an XML file, and verified against a RelaxNG schema.
org.jcontainer.dna.Configurableinterface.
| required components | FileSystem, XMLValidator |
|---|---|
| required libraries | PicoContainer (picocontainer), DNA API (dna:dna-api), DNA implementation (dna:dna-impl), Jing (jing) |
| position | type | descritpion |
|---|---|---|
| 1 | org.picocontainer.MutablePicoContainer |
the container where CustomzizedComponentAdapter for DNA Configuration should be installed. |
| 2 | org.objectledge.filesystem.FileSystem |
The file system to read the configuration files from. |
| 3 | org.objectledge.xml.XMLValidator |
The validator for the configuration files. |
| 4 | java.lang.String |
The pathname of the directory where the configurations are loaded from. |