/* */
/* 236 */ for (ServiceMetaData metaData : metaDatas)
/* */ {
/* 238 */ metaData.setClassLoaderName(loaderName);
/* */
/* 241 */ ServiceControllerContext context = new ServiceControllerContext(this, metaData);
/* */ try
/* */ {
/* 244 */ doInstall(controller, context);
/* 245 */ contexts.add(context);
/* 246 */ doChange(controller, context, ControllerState.CONFIGURED, "configure");
/* 247 */ result.add(context.getObjectName());
/* */ }
/* */ catch (Throwable t)
/* */ {
/* 252 */ for (ServiceControllerContext ctx : contexts) {
/* 253 */ safelyRemoveAnyRegisteredContext(ctx);