Migrate ModifierKind to JDT annotations
[yangtools.git] / yang / yang-model-api / src / main / java / org / opendaylight / yangtools / yang / model / api / SchemaContextListener.java
index 8de563ca9d537bd254ad3e24064f8424abf33b9c..89bbffa058f27338f4bea6a07c79abedfb161032 100644 (file)
@@ -9,8 +9,16 @@ package org.opendaylight.yangtools.yang.model.api;
 
 import java.util.EventListener;
 
-import org.opendaylight.yangtools.yang.model.api.SchemaContext;
-
-public interface SchemaContextListener extends SchemaServiceListener {
-
+/**
+ * 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.
+ */
+public interface SchemaContextListener extends EventListener {
+    /**
+     * The global schema context is being updated.
+     * @param context New global schema context
+     */
+    void onGlobalContextUpdated(SchemaContext context);
 }