@SuppressWarnings("deprecation")
public class InstallAction extends InstallsAwareAction
{
protected void installActionInternal(KernelControllerContext context) throws Throwable
{
KernelController controller = (KernelController) context.getController();
Kernel kernel = controller.getKernel();
org.jboss.kernel.spi.registry.KernelRegistry registry = kernel.getRegistry();
BeanMetaData metaData = context.getBeanMetaData();
Object name = metaData.getName();
registry.registerEntry(name, context);
try
{
controller.addSupplies(context);
}
catch (Throwable t)
{
try
{