From: Mathieu Baudier Date: Mon, 20 Aug 2012 13:21:42 +0000 (+0000) Subject: Spring extension forces start of lazy plugins X-Git-Tag: argeo-commons-2.1.30~868 X-Git-Url: http://git.argeo.org/?a=commitdiff_plain;h=45a95c74c39b7158dc2e47c208b1ad72abbcf8a7;p=lgpl%2Fargeo-commons.git Spring extension forces start of lazy plugins git-svn-id: https://svn.argeo.org/commons/trunk@5514 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc --- diff --git a/base/runtime/org.argeo.eclipse.ui/src/main/java/org/argeo/eclipse/spring/ApplicationContextTracker.java b/base/runtime/org.argeo.eclipse.ui/src/main/java/org/argeo/eclipse/spring/ApplicationContextTracker.java index fcd42bab6..527f45ee2 100644 --- a/base/runtime/org.argeo.eclipse.ui/src/main/java/org/argeo/eclipse/spring/ApplicationContextTracker.java +++ b/base/runtime/org.argeo.eclipse.ui/src/main/java/org/argeo/eclipse/spring/ApplicationContextTracker.java @@ -111,8 +111,8 @@ class ApplicationContextTracker { if (log.isTraceEnabled()) log.trace("Get application context for bundle " + contributorBundle); - if (contributorBundle.getState() != Bundle.ACTIVE - && contributorBundle.getState() != Bundle.STARTING) { + // Start if not yet started (also if in STARTING state, may be lazy) + if (contributorBundle.getState() != Bundle.ACTIVE) { try { if (log.isTraceEnabled()) log.trace("Starting bundle: "