Deprecate DOMDataTreeProducer-related classes
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / main / java / org / opendaylight / controller / cluster / sharding / DistributedShardModificationContext.java
index 9d51684..5b3c531 100644 (file)
@@ -16,10 +16,11 @@ import org.opendaylight.mdsal.dom.spi.store.DOMStoreThreePhaseCommitCohort;
 /**
  * The context for a single shards modification, keeps a ClientTransaction so it can route requests correctly.
  */
+@Deprecated(forRemoval = true)
 public class DistributedShardModificationContext {
 
-    private ClientTransaction transaction;
-    private DOMDataTreeIdentifier identifier;
+    private final ClientTransaction transaction;
+    private final DOMDataTreeIdentifier identifier;
     private DOMDataTreeWriteCursor cursor;
 
     public DistributedShardModificationContext(final ClientTransaction transaction,

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.