if (trace)
log.trace("Using Bus: " + bus);
bus.setKernel(kernel);
kernel.setBus(bus);
KernelBeanValidator validator = createKernelBeanValidator(kernel);
if (trace)
log.trace("Using Validator: " + validator);
validator.setKernel(kernel);
kernel.setValidator(validator);
// Register everything
register(kernel, KernelConstants.KERNEL_CONFIG_NAME, kernel.getConfig());
register(kernel, KernelConstants.KERNEL_INITIALIZER_NAME, this);