return factory;
}
protected void installActionInternal(KernelControllerContext context) throws Throwable
{
KernelController controller = (KernelController)context.getController();
Kernel kernel = controller.getKernel();
KernelConfigurator configurator = kernel.getConfigurator();
BeanMetaData metaData = context.getBeanMetaData();
if (metaData.getBean() != null)
{
BeanInfo info = configurator.getBeanInfo(metaData);
context.setBeanInfo(info);
KernelMetaDataRepository repository = controller.getKernel().getMetaDataRepository();
ClassLoader oldCL = SecurityActions.setContextClassLoader(context);
try
{
repository.addMetaData(context);
}