/* */ {
/* 263 */ KernelController controller = this.kernel.getController();
/* 264 */ metaData.setClassLoaderName(loaderName);
/* 265 */ ObjectName name = metaData.getObjectName();
/* */
/* 268 */ ServiceControllerContext context = new ServiceControllerContext(this, metaData);
/* */ try
/* */ {
/* 271 */ doInstall(controller, context);
/* 272 */ doChange(controller, context, ControllerState.CONFIGURED, "configure");
/* 273 */ return context.getObjectName();
/* */ }
/* */ catch (Throwable t) {
/* */ }
/* 277 */ throw DeploymentException.rethrowAsDeploymentException("Error during install " + name, t);
/* */ }