Deprecate SchemaContextListener for removal 14/109214/1
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 7 Dec 2023 21:55:17 +0000 (22:55 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Thu, 7 Dec 2023 22:11:09 +0000 (23:11 +0100)
SchemaContext is superseded by EffectiveModelContext, guide users
towards that by deprecating SchemaContextListeer.

JIRA: YANGTOOLS-1553
Change-Id: I91a821bc5651cdf2167820f549427200c9162c07
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
model/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/SchemaContextListener.java

index 89bbffa058f27338f4bea6a07c79abedfb161032..2497a1f6f1b8da9c5bcfb88ce11737f4b1f79c52 100644 (file)
@@ -10,11 +10,13 @@ package org.opendaylight.yangtools.yang.model.api;
 import java.util.EventListener;
 
 /**
- * Interface for listeners interested in updates of the global schema context.
- * The global schema context reflects the global view of the model world, and
- * all entities interacting at the global scale need to maintain a consistent
- * view of that world.
+ * Interface for listeners interested in updates of the global schema context. The global schema context reflects the
+ * global view of the model world, and all entities interacting at the global scale need to maintain a consistent view
+ * of that world.
+ *
+ * @deprecated Use {@link EffectiveModelContextListener} instead.
  */
+@Deprecated(since = "11.0.5", forRemoval = true)
 public interface SchemaContextListener extends EventListener {
     /**
      * The global schema context is being updated.