Remove sal.core.api.model
[controller.git] / opendaylight / md-sal / sal-dom-broker / src / main / java / org / opendaylight / controller / sal / dom / broker / osgi / ProxyFactory.java
index 1ca9f5d..250ef7d 100644 (file)
@@ -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<DOMMountPointService>) ref, service);
     }
 
-    private static Object createProxyImpl(final ServiceReference<?> ref, final SchemaService service) {
-
-        return new SchemaServiceProxy((ServiceReference<SchemaService>) ref, service);
-    }
-
     private static DOMDataBrokerProxy createProxyImpl(final ServiceReference<?> ref, final DOMDataBroker service) {
 
         return new DOMDataBrokerProxy((ServiceReference<DOMDataBroker>) 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);
         }

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.