summaryrefslogtreecommitdiffstats
path: root/container-disc
diff options
context:
space:
mode:
authorgjoranv <gv@oath.com>2018-04-27 15:57:23 +0200
committergjoranv <gv@oath.com>2018-04-27 15:57:23 +0200
commit5f914ac73be1dcc64aea6d037e416bc078e73f97 (patch)
tree947bbe80536a1e6cec122803119e034985d350fc /container-disc
parentd83814043998817d404b922e3050ce2006e8ec19 (diff)
Upgrade felix from 4.4 to 4.6
Diffstat (limited to 'container-disc')
-rw-r--r--container-disc/src/main/java/com/yahoo/container/jdisc/RestrictedBundleContext.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/container-disc/src/main/java/com/yahoo/container/jdisc/RestrictedBundleContext.java b/container-disc/src/main/java/com/yahoo/container/jdisc/RestrictedBundleContext.java
index 313e26ba8d4..c9cc8dfdfa4 100644
--- a/container-disc/src/main/java/com/yahoo/container/jdisc/RestrictedBundleContext.java
+++ b/container-disc/src/main/java/com/yahoo/container/jdisc/RestrictedBundleContext.java
@@ -45,6 +45,11 @@ public class RestrictedBundleContext implements BundleContext {
}
@Override
+ public <S> ServiceRegistration<S> registerService(Class<S> aClass, ServiceFactory<S> serviceFactory, Dictionary<String, ?> dictionary) {
+ return null;
+ }
+
+ @Override
public ServiceReference<?>[] getServiceReferences(String localHostname, String localHostname2) throws InvalidSyntaxException {
if (wrapped == null) {
return new ServiceReference<?>[0];
@@ -100,6 +105,11 @@ public class RestrictedBundleContext implements BundleContext {
return wrapped.ungetService(serviceReference);
}
+ @Override
+ public <S> ServiceObjects<S> getServiceObjects(ServiceReference<S> serviceReference) {
+ return null;
+ }
+
//---------------------