X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-binding-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fsal%2Fbinding%2Fapi%2Fdata%2FDataCommitHandler.java;h=b12dce6ea2efcce3dee94600dceea247a0ab7a92;hb=526185d061ed50c75890b31a376e9495144b660a;hp=ea5a16e27b3159dad19469c13e329c5971ee517c;hpb=4b1c94354c0396645effe64388bbefb653e29344;p=controller.git diff --git a/opendaylight/md-sal/sal-binding-api/src/main/java/org/opendaylight/controller/sal/binding/api/data/DataCommitHandler.java b/opendaylight/md-sal/sal-binding-api/src/main/java/org/opendaylight/controller/sal/binding/api/data/DataCommitHandler.java index ea5a16e27b..b12dce6ea2 100644 --- a/opendaylight/md-sal/sal-binding-api/src/main/java/org/opendaylight/controller/sal/binding/api/data/DataCommitHandler.java +++ b/opendaylight/md-sal/sal-binding-api/src/main/java/org/opendaylight/controller/sal/binding/api/data/DataCommitHandler.java @@ -77,107 +77,6 @@ import org.opendaylight.yangtools.yang.common.RpcResult; *
  • For each CommitTransaction from Commit Request phase *
      *
    1. Broker - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * * broker invokes a {@link CommitTransaction#finish()} *
    2. The provider rollbacks a commit and returns an {@link RpcResult} of * rollback.
    @@ -234,6 +133,13 @@ public interface DataCommitHandler extends ProviderFunctionality { */ DataStoreIdentifier getDataStore(); + /** + * Returns a modification transaction which is the source of this + * commit transaction. + * + */ + DataModification getModification(); + /** * Returns the handler associated with this transaction. *