diff options
author | slewis | 2018-02-27 04:32:32 +0000 |
---|---|---|
committer | slewis | 2018-02-27 04:32:32 +0000 |
commit | d2ea2ef031e5170396546bfcfe5f289008842ff2 (patch) | |
tree | f8cc3ec05dd2df1eec4f11bf6324a96b0f140f2a /framework/bundles/org.eclipse.ecf.identity/src/org/eclipse/ecf/internal | |
parent | 5f289d523c9319eb772737083e018301659494be (diff) | |
download | org.eclipse.ecf-d2ea2ef031e5170396546bfcfe5f289008842ff2.tar.gz org.eclipse.ecf-d2ea2ef031e5170396546bfcfe5f289008842ff2.tar.xz org.eclipse.ecf-d2ea2ef031e5170396546bfcfe5f289008842ff2.zip |
Added BundleStarter to identity.util
Change-Id: Ied38b57de3148567de50d402b3c701184607da54
Diffstat (limited to 'framework/bundles/org.eclipse.ecf.identity/src/org/eclipse/ecf/internal')
-rw-r--r-- | framework/bundles/org.eclipse.ecf.identity/src/org/eclipse/ecf/internal/core/identity/Activator.java | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/framework/bundles/org.eclipse.ecf.identity/src/org/eclipse/ecf/internal/core/identity/Activator.java b/framework/bundles/org.eclipse.ecf.identity/src/org/eclipse/ecf/internal/core/identity/Activator.java index 363d01f03..701236ca7 100644 --- a/framework/bundles/org.eclipse.ecf.identity/src/org/eclipse/ecf/internal/core/identity/Activator.java +++ b/framework/bundles/org.eclipse.ecf.identity/src/org/eclipse/ecf/internal/core/identity/Activator.java @@ -92,16 +92,22 @@ public class Activator implements BundleActivator { return (DebugOptions) debugOptionsTracker.getService(); } + private void startDependents(String[] bundleNames) { + + } + /* * (non-Javadoc) * - * @see - * org.eclipse.core.runtime.Plugins#start(org.osgi.framework.BundleContext) + * @see org.eclipse.core.runtime.Plugins#start(org.osgi.framework.BundleContext) */ @SuppressWarnings({ "unchecked", "rawtypes" }) public void start(BundleContext ctxt) throws Exception { plugin = this; this.context = ctxt; + BundleStarter.startDependents(this.context, new String[] { "org.eclipse.equinox.common", + "org.eclipse.core.jobs", "org.eclipse.equinox.concurrent" }, Bundle.STARTING); + // Register IIDFactory service idFactoryServiceRegistration = context.registerService(IIDFactory.class.getName(), IDFactory.getDefault(), null); @@ -237,11 +243,9 @@ public class Activator implements BundleActivator { } catch (final CoreException e) { getDefault().log(e.getStatus()); } catch (final Exception e) { - getDefault().log(new Status(IStatus.ERROR, bundleName, FACTORY_NAME_COLLISION_ERRORCODE, - "name=" //$NON-NLS-1$ - + nsName + ";extension point id=" //$NON-NLS-1$ - + extension.getExtensionPointUniqueIdentifier(), - null)); + getDefault().log(new Status(IStatus.ERROR, bundleName, FACTORY_NAME_COLLISION_ERRORCODE, "name=" //$NON-NLS-1$ + + nsName + ";extension point id=" //$NON-NLS-1$ + + extension.getExtensionPointUniqueIdentifier(), null)); } } } @@ -266,8 +270,7 @@ public class Activator implements BundleActivator { /* * (non-Javadoc) * - * @see - * org.eclipse.core.runtime.Plugin#stop(org.osgi.framework.BundleContext) + * @see org.eclipse.core.runtime.Plugin#stop(org.osgi.framework.BundleContext) */ public void stop(BundleContext ctxt) throws Exception { SafeRunner.run(new ExtensionRegistryRunnable(ctxt) { |