diff options
Diffstat (limited to '')
-rw-r--r-- | java/sca/modules/extensibility-equinox/pom.xml | 3 | ||||
-rw-r--r-- | java/sca/modules/extensibility-equinox/src/main/java/org/apache/tuscany/sca/extensibility/equinox/EquinoxServiceDiscoverer.java | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/java/sca/modules/extensibility-equinox/pom.xml b/java/sca/modules/extensibility-equinox/pom.xml index 84ad3633f6..9547e92f34 100644 --- a/java/sca/modules/extensibility-equinox/pom.xml +++ b/java/sca/modules/extensibility-equinox/pom.xml @@ -101,7 +101,8 @@ <Bundle-Description>${pom.name}</Bundle-Description> <Bundle-Activator>org.apache.tuscany.sca.extensibility.equinox.EquinoxServiceDiscoveryActivator</Bundle-Activator> <Export-Package>org.apache.tuscany.sca.extensibility.equinox*</Export-Package> - <Eclipse-AutoStart>true</Eclipse-AutoStart> + <Eclipse-LazyStart>true</Eclipse-LazyStart> + <Bundle-ActivationPolicy>lazy</Bundle-ActivationPolicy> <DynamicImport-Package>*</DynamicImport-Package> </instructions> </configuration> diff --git a/java/sca/modules/extensibility-equinox/src/main/java/org/apache/tuscany/sca/extensibility/equinox/EquinoxServiceDiscoverer.java b/java/sca/modules/extensibility-equinox/src/main/java/org/apache/tuscany/sca/extensibility/equinox/EquinoxServiceDiscoverer.java index fcc7f21483..5ab5a66077 100644 --- a/java/sca/modules/extensibility-equinox/src/main/java/org/apache/tuscany/sca/extensibility/equinox/EquinoxServiceDiscoverer.java +++ b/java/sca/modules/extensibility-equinox/src/main/java/org/apache/tuscany/sca/extensibility/equinox/EquinoxServiceDiscoverer.java @@ -116,6 +116,10 @@ public class EquinoxServiceDiscoverer implements ServiceDiscoverer { } } + + public static void init() { + // Empty static method to trigger the activation of this bundle + } private static String toString(Bundle b) { StringBuffer sb = new StringBuffer(); |