org.objectweb.jonathan.apis.kernel.decoders
Interface File2Configuration
- All Known Implementing Classes:
- OpenXMLDecoder
- public interface File2Configuration
XML file to runtime configuration import interface.
importElement
public void importElement(Context configuration,
java.lang.String file_name,
ContextFactory context_factory,
ClassPathFinder finder)
throws JonathanException
- Imports the provided configuration file into the
configuration
.
- Parameters:
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)
- Throws:
JonathanException
- if something goes wrong