this.context = ctxt;
SafeRunner.run(new ExtensionRegistryRunnable(ctxt) {
protected void runWithoutRegistry() throws Exception {
IAdapterManager am = getAdapterManager();
if (am != null) {
IAdapterFactory af = new DatashareContainerAdapterFactory();
am.registerAdapters(af, org.eclipse.ecf.provider.generic.SSLServerSOContainer.class);
rscAdapterFactories.add(af);
af = new DatashareContainerAdapterFactory();
am.registerAdapters(af, org.eclipse.ecf.provider.generic.TCPServerSOContainer.class);
rscAdapterFactories.add(af);
af = new DatashareContainerAdapterFactory();
am.registerAdapters(af, org.eclipse.ecf.provider.generic.SSLClientSOContainer.class);
rscAdapterFactories.add(af);
af = new DatashareContainerAdapterFactory();
am.registerAdapters(af, org.eclipse.ecf.provider.generic.TCPClientSOContainer.class);
rscAdapterFactories.add(af);
}
}
});