use of org.eclipse.ecf.internal.provider.local.container.LocalRemoteServiceContainerInstantiator in project ecf by eclipse.
the class Activator method start.
/*
* (non-Javadoc)
* @see org.osgi.framework.BundleActivator#start(org.osgi.framework.BundleContext)
*/
public void start(final BundleContext bundleContext) throws Exception {
Activator.context = bundleContext;
SafeRunner.run(new ExtensionRegistryRunnable(bundleContext) {
protected void runWithoutRegistry() throws Exception {
bundleContext.registerService(Namespace.class, new LocalNamespace(), null);
// $NON-NLS-1$//$NON-NLS-2$
bundleContext.registerService(ContainerTypeDescription.class, new ContainerTypeDescription("ecf.local", new LocalRemoteServiceContainerInstantiator(), "Local Container Instantiator", false, false), null);
}
});
}
Aggregations