}
catch (SubsystemException e) {
throw e;
}
catch (Exception e) {
throw new SubsystemException(e);
}
registerBundleEventHook();
registrations.add(bundleContext.registerService(ResolverHookFactory.class, new SubsystemResolverHookFactory(subsystems), null));
registrar = new SubsystemServiceRegistrar(bundleContext);
BasicSubsystem root = subsystems.getRootSubsystem();