2 * Copyright (c) 2018 Red Hat, Inc. 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.openflowplugin.impl;
10 import org.opendaylight.mdsal.binding.api.DataBroker;
11 import org.opendaylight.mdsal.binding.spi.ForwardingDataBroker;
14 * Delegating {@link PingPongDataBroker} implementation.
15 * This is useful for simple strongly typed dependency injection.
17 * @author Michael Vorburger.ch
19 public class ForwardingPingPongDataBroker extends ForwardingDataBroker implements PingPongDataBroker {
21 private final DataBroker delegate;
23 public ForwardingPingPongDataBroker(DataBroker delegate) {
24 this.delegate = delegate;
28 protected DataBroker delegate() {