*
* @throws ConfigurationException
*/
public static RuntimeContext createJavaRuntime() throws ConfigurationException {
MonitorFactory monitorFactory = new NullMonitorFactory();
ContextFactoryBuilderRegistry builderRegistry = BootstrapHelper.bootstrapContextFactoryBuilders(monitorFactory);
DefaultWireBuilder wireBuilder = new DefaultWireBuilder();
RuntimeContext runtime = new RuntimeContextImpl(monitorFactory, builderRegistry, wireBuilder);
runtime.start();
runtime.getSystemContext().registerModelObject(createSystemCompositeComponent(SYSTEM_CHILD));
SystemCompositeContext ctx = (SystemCompositeContext) runtime.getSystemContext().getContext(SYSTEM_CHILD);