Split Restconf implementations (draft02 and RFC) - providers tests
[netconf.git] / restconf / restconf-nb-rfc8040 / src / main / java / org / opendaylight / restconf / nb / rfc8040 / handlers / SchemaContextHandler.java
index b3719b5e331e137092f80e0aff0051c46a8a3f18..6ba7018cb5d6e6d7a957a0ea3ee97e9855efb49c 100644 (file)
@@ -84,6 +84,10 @@ public class SchemaContextHandler implements SchemaContextListenerHandler {
         return actualSchemaContext;
     }
 
+    public static void setActualSchemaContext(final SchemaContext schemaContext) {
+        actualSchemaContext = schemaContext;
+    }
+
     private void putData(
             final NormalizedNode<NodeIdentifier, Collection<DataContainerChild<? extends PathArgument, ?>>> normNode) {
         final DOMDataWriteTransaction wTx = this.transactionChainHandler.get().newWriteOnlyTransaction();