Remove binding spec2
[mdsal.git] / binding2 / mdsal-binding2-api / src / main / java / org / opendaylight / mdsal / binding / javav2 / api / DataTreeCommitCohortRegistry.java
diff --git a/binding2/mdsal-binding2-api/src/main/java/org/opendaylight/mdsal/binding/javav2/api/DataTreeCommitCohortRegistry.java b/binding2/mdsal-binding2-api/src/main/java/org/opendaylight/mdsal/binding/javav2/api/DataTreeCommitCohortRegistry.java
deleted file mode 100644 (file)
index a632b27..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Copyright (c) 2017 Pantheon Technologies s.r.o. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-
-package org.opendaylight.mdsal.binding.javav2.api;
-
-import com.google.common.annotations.Beta;
-import org.opendaylight.mdsal.binding.javav2.spec.base.TreeNode;
-import org.opendaylight.yangtools.concepts.ObjectRegistration;
-
-/**
- * Commit Cohort registry.
- *
- * <p>
- * See {@link DataTreeCommitCohort} for more details.
- *
- */
-@Beta
-public interface DataTreeCommitCohortRegistry {
-
-    /**
-     * Register commit cohort which will participate in three-phase commit protocols of write
-     * transaction in data broker associated with this instance of extension.
-     *
-     * @param subtree Subtree path on which commit cohort operates.
-     * @param cohort Commit cohort
-     * @param <D> data type
-     * @param <T> cohort type
-     * @return Registration object for DOM Data Three Commit cohort.
-     */
-    <D extends TreeNode, T extends DataTreeCommitCohort<D>> ObjectRegistration<T> registerCommitCohort(
-        DataTreeIdentifier<D> subtree, T cohort);
-}