X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-dom-broker%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fsal%2Fdom%2Fbroker%2Fosgi%2FProxyFactory.java;h=250ef7d463951cf7061e4d56b8ab502009db7e17;hp=1ca9f5da96ce7276ce17eb7a477b32d1f78d123e;hb=c7515b27b065ef5f4d14ae931413ea83a4c047a8;hpb=178d7d60449f221af2615c361bd4fefbe338c613 diff --git a/opendaylight/md-sal/sal-dom-broker/src/main/java/org/opendaylight/controller/sal/dom/broker/osgi/ProxyFactory.java b/opendaylight/md-sal/sal-dom-broker/src/main/java/org/opendaylight/controller/sal/dom/broker/osgi/ProxyFactory.java index 1ca9f5da96..250ef7d463 100644 --- a/opendaylight/md-sal/sal-dom-broker/src/main/java/org/opendaylight/controller/sal/dom/broker/osgi/ProxyFactory.java +++ b/opendaylight/md-sal/sal-dom-broker/src/main/java/org/opendaylight/controller/sal/dom/broker/osgi/ProxyFactory.java @@ -10,7 +10,6 @@ package org.opendaylight.controller.sal.dom.broker.osgi; import org.opendaylight.controller.md.sal.dom.api.DOMDataBroker; import org.opendaylight.controller.md.sal.dom.api.DOMMountPointService; import org.opendaylight.controller.sal.core.api.BrokerService; -import org.opendaylight.controller.sal.core.api.model.SchemaService; import org.osgi.framework.ServiceReference; @SuppressWarnings("unchecked") @@ -30,11 +29,6 @@ public final class ProxyFactory { return new DOMMountPointServiceProxy((ServiceReference) ref, service); } - private static Object createProxyImpl(final ServiceReference ref, final SchemaService service) { - - return new SchemaServiceProxy((ServiceReference) ref, service); - } - private static DOMDataBrokerProxy createProxyImpl(final ServiceReference ref, final DOMDataBroker service) { return new DOMDataBrokerProxy((ServiceReference) ref, service); @@ -47,8 +41,6 @@ public final class ProxyFactory { if (service instanceof DOMDataBroker) { return createProxyImpl(ref, (DOMDataBroker) service); - } else if (service instanceof SchemaService) { - return createProxyImpl(ref, (SchemaService) service); } else if (service instanceof DOMMountPointService) { return createProxyImpl(ref, (DOMMountPointService) service); }