Simplify DOMOperation{Service,Implementation} 22/74022/7
authorRobert Varga <robert.varga@pantheon.tech>
Fri, 13 Jul 2018 13:25:29 +0000 (15:25 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Fri, 13 Jul 2018 16:38:16 +0000 (18:38 +0200)
commitf037c174b0f02cdc94ee0a93130d3b5d4a8cd542
treef3ad0182bbaf29306abdc293c4069f6c50fe1ddd
parent2b763aa1346d919544e858fa8289c86c0e7c7ad5
Simplify DOMOperation{Service,Implementation}

In order to seamlessly bridge Binding->DOM->Binding invocation
without incurring thread safety hits we need to have a way
for the operation implementations to give us a handle.

We therefore should not be bridging the result through a callback,
but rather via a FluentFuture -- eliminate DOMOperationCallback
and make the former bridge methods the only API.

Change-Id: I3d1064b95ca65b44909b27bf028d050594ecbee7
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
dom/mdsal-dom-api/src/main/java/org/opendaylight/mdsal/dom/api/DOMOperationAvailabilityExtension.java
dom/mdsal-dom-api/src/main/java/org/opendaylight/mdsal/dom/api/DOMOperationCallback.java [deleted file]
dom/mdsal-dom-api/src/main/java/org/opendaylight/mdsal/dom/api/DOMOperationImplementation.java
dom/mdsal-dom-api/src/main/java/org/opendaylight/mdsal/dom/api/DOMOperationService.java
dom/mdsal-dom-spi/src/main/java/org/opendaylight/mdsal/dom/spi/SimpleDOMOperationResult.java [new file with mode: 0644]