diff options
author | gjoranv <gv@verizonmedia.com> | 2020-07-15 12:52:19 +0200 |
---|---|---|
committer | gjoranv <gv@verizonmedia.com> | 2020-07-15 12:52:19 +0200 |
commit | 1da1e3b3a9189e4fdff2ecd1b96210818896f3cc (patch) | |
tree | 79ed6046a5e73650ccca7fbb692b6039e161b966 /container-core/src/main/java/com/yahoo/osgi/Osgi.java | |
parent | 72eb7a8938f60b6c3c7a562673514414bcb1b106 (diff) |
Don't throw when using a test osgi framework
- ClassloaderOsgiFramework returns all installed bundles upon
each call to install().
Diffstat (limited to 'container-core/src/main/java/com/yahoo/osgi/Osgi.java')
-rw-r--r-- | container-core/src/main/java/com/yahoo/osgi/Osgi.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/container-core/src/main/java/com/yahoo/osgi/Osgi.java b/container-core/src/main/java/com/yahoo/osgi/Osgi.java index 2198bbc8476..2b638d50f45 100644 --- a/container-core/src/main/java/com/yahoo/osgi/Osgi.java +++ b/container-core/src/main/java/com/yahoo/osgi/Osgi.java @@ -23,4 +23,7 @@ public interface Osgi { void allowDuplicateBundles(Collection<Bundle> bundles); + default boolean hasFelixFramework() { + return false; + } } |