2 * Copyright (c) 2017 Inocybe Technologies and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.controller.sal.core.compat;
10 import org.opendaylight.mdsal.dom.api.DOMTransactionChain;
11 import org.opendaylight.mdsal.dom.api.DOMTransactionChainListener;
14 * Adapter between the legacy controller API-based DOMDataBroker and the mdsal API-based DOMDataBroker.
16 * @author Thomas Pantelis
19 public class LegacyDOMDataBrokerAdapter extends AbstractLegacyDOMDataBrokerAdapter {
20 public LegacyDOMDataBrokerAdapter(final org.opendaylight.mdsal.dom.api.DOMDataBroker delegate) {
25 DOMTransactionChain createDelegateChain(DOMTransactionChainListener listener) {
26 return delegate().createTransactionChain(listener);