public void start( BundleContext context ) throws Exception {
super.start(context);
local = new CatalogImpl();
catalogs = Collections.emptyList();
serviceFactory = new ServiceFactoryImpl();
resolveManager = new ResolveManager2();
// ensure a preference store is around so we can save to it in the shutdown hook
preferenceStore = new ScopedPreferenceStore(new InstanceScope(), getBundle().getSymbolicName());
try {