org.objectweb.jonathan.apis.kernel.decoders
Interface File2Configuration
- OpenXMLDecoder
public interface File2Configuration
XML file to runtime configuration import interface.
importElement
public void importElement(Context configuration,
String file_name,
ContextFactory context_factory,
ClassPathFinder finder)
throws JonathanException
Imports the provided configuration file into the
configuration
.
configuration
- the context to import the file tofile_name
- the XML configuration file to importcontext_factory
- used to create contexts while importingfinder
- used to find the XML configuration files to be
imported (the provided one, and those it includes)
JonathanException
- if something goes wrong