X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-binding-broker%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fsal%2Fbinding%2Fimpl%2FOsgiProviderContext.xtend;h=7fd3fd24d86e5d48b802c96ea5c570c675528c87;hb=9d90b3f545a3ac32b198a5cabe606b411a6d081b;hp=1be19c0213e089fb0b87ffe56c23d70509c58337;hpb=e41b96adc85177b252b3a47816f9f9f6b5571362;p=controller.git diff --git a/opendaylight/md-sal/sal-binding-broker/src/main/java/org/opendaylight/controller/sal/binding/impl/OsgiProviderContext.xtend b/opendaylight/md-sal/sal-binding-broker/src/main/java/org/opendaylight/controller/sal/binding/impl/OsgiProviderContext.xtend index 1be19c0213..7fd3fd24d8 100644 --- a/opendaylight/md-sal/sal-binding-broker/src/main/java/org/opendaylight/controller/sal/binding/impl/OsgiProviderContext.xtend +++ b/opendaylight/md-sal/sal-binding-broker/src/main/java/org/opendaylight/controller/sal/binding/impl/OsgiProviderContext.xtend @@ -44,20 +44,6 @@ class OsgiProviderContext extends OsgiConsumerContext implements ProviderContext return salReg; } - override addMountRpcImplementation(Class type, InstanceIdentifier mount, T implementation) throws IllegalStateException { - checkNotNull(type, "Service type should not be null") - checkNotNull(mount,"Path to the mount should not be null") - checkNotNull(implementation, "Service instance should not be null") - - val properties = new Hashtable(); - properties.salServiceType = SAL_SERVICE_TYPE_PROVIDER - - // Fill requirements - val salReg = broker.registerMountedRpcImplementation(type, implementation, mount, this) - registeredServices.put(type, salReg) - return salReg; - } - override addRoutedRpcImplementation(Class type, T implementation) throws IllegalStateException { checkNotNull(type, "Service type should not be null") checkNotNull(implementation, "Service type should not be null")