Kernel kernel = KernelFactory.newInstance().createKernel("test");
kernel.boot();
// load the configuration manager bootstrap service
ConfigurationData bootstrap = new ConfigurationData(new Artifact("bootstrap", "bootstrap", "", "car"), kernel.getNaming());
bootstrap.addGBean("ConfigurationManager", KernelConfigurationManager.GBEAN_INFO);
ConfigurationUtil.loadBootstrapConfiguration(kernel, bootstrap, getClass().getClassLoader());
ConfigurationManager configurationManager = (ConfigurationManager) kernel.getGBean(ConfigurationManager.class);
// create a configuration for our test bean
Artifact configurationId = new Artifact("test", "test", "", "car");