BUG-8327: deprecate sal.core.api.model.SchemaService
[controller.git] / opendaylight / md-sal / sal-dom-api / src / main / java / org / opendaylight / controller / sal / core / api / model / SchemaService.java
index c3e979c536b268c4a6156b7241e745f328569618..de37cf8b77c3a6e6881464e1d6aed679eac5165a 100644 (file)
@@ -13,32 +13,29 @@ import org.opendaylight.yangtools.yang.model.api.Module;
 import org.opendaylight.yangtools.yang.model.api.SchemaContext;
 import org.opendaylight.yangtools.yang.model.api.SchemaContextListener;
 
+/**
+ * @deprecated Use {@link org.opendaylight.mdsal.dom.api.DOMSchemaService} instead.
+ */
+@Deprecated
 public interface SchemaService extends BrokerService {
 
     /**
      * Registers a YANG module to session and global context
-     *
-     * @param module
      */
     void addModule(Module module);
 
     /**
      * Unregisters a YANG module from session context
-     *
-     * @param module
      */
     void removeModule(Module module);
 
     /**
      * Returns session specific YANG schema context
-     * @return
      */
     SchemaContext getSessionContext();
 
     /**
      * Returns global schema context
-     *
-     * @return
      */
     SchemaContext getGlobalContext();