Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2018-02-27 04:32:32 +0000
committerslewis2018-02-27 04:32:32 +0000
commitd2ea2ef031e5170396546bfcfe5f289008842ff2 (patch)
treef8cc3ec05dd2df1eec4f11bf6324a96b0f140f2a /framework/bundles/org.eclipse.ecf.identity/src/org/eclipse/ecf/internal
parent5f289d523c9319eb772737083e018301659494be (diff)
downloadorg.eclipse.ecf-d2ea2ef031e5170396546bfcfe5f289008842ff2.tar.gz
org.eclipse.ecf-d2ea2ef031e5170396546bfcfe5f289008842ff2.tar.xz
org.eclipse.ecf-d2ea2ef031e5170396546bfcfe5f289008842ff2.zip
Added BundleStarter to identity.util
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.java21
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) {

Back to the top