Binding v2 runtime - adapters - impl - operations invoker
[mdsal.git] / binding2 / mdsal-binding2-runtime / src / main / java / org / opendaylight / mdsal / binding / javav2 / runtime / context / util / BindingSchemaContextUtils.java
index 5defa72f2944c66c5360acf7f93138364f5590cf..3050d60d85166aef4afbd6776467403f4a36f8e3 100644 (file)
@@ -63,7 +63,7 @@ public final class BindingSchemaContextUtils {
         Optional<DataNodeContainer> currentContainer = Optional.absent();
         if (BindingReflections.isNotification(currentArg.getType())) {
             currentContainer = findNotification(ctx, currentQName);
-        } else if (BindingReflections.isRpcOrActionType(currentArg.getType())) {
+        } else if (BindingReflections.isOperationType(currentArg.getType())) {
             currentContainer = findFirstDataNodeContainerInRpcOrAction(ctx, currentArg.getType());
             if(currentQName == null && currentContainer.isPresent()) {
                 currentQName = ((DataSchemaNode) currentContainer.get()).getQName();