public class Activator implements BundleActivator {
private List<IAdapterFactory> rscAdapterFactories;
private static IAdapterManager getAdapterManager(BundleContext ctx) {
AdapterManagerTracker t = new AdapterManagerTracker(ctx);
t.open();
IAdapterManager am = t.getAdapterManager();
t.close();
return am;
}