public final class KKernel
extends java.lang.Object
Must be provided in the application's compiled configuration by specifying the bootstrap attribute of the root context in the XML configuration file to be compiled. KKernel is loaded in the java code of the compiled configuration file.
jonathan's example of KKernel use:
Kcf2java
tool. Its class name (Kernel) is provided in the XML source
by the generated attribute of the root context.
File2Configuration
(in fact
an OpenXMLDecoder
) whose configuration is provided in
Kernel.kcf.
as an assemblage named /jonathan/KKernel/xml_decoder.
The decoder is instanciated by the configuration bootstrap class
KKernel
.
setParameters()
method, which calls the static
Kernel.newConfiguration() method and returns jonathan's
whole runtime configuration.
Constructor and Description |
---|
KKernel() |
Modifier and Type | Method and Description |
---|---|
static Context |
newConfiguration(Context _context,
java.lang.Class _c)
The jonathan Kernel's runtime bootstrap mechanism.
|
public static Context newConfiguration(Context _context, java.lang.Class _c)
File2Configuration
Properties2Configuration
) and uses
it to import the java System properties
_context
- the compiled configuration to bootstrap on_c
-