2 * Copyright (c) 2018 Pantheon Technologies, s.r.o. 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.md.sal.binding.spi;
10 import com.google.common.annotations.Beta;
11 import org.eclipse.jdt.annotation.NonNullByDefault;
12 import org.opendaylight.controller.md.sal.binding.api.DataBroker;
13 import org.opendaylight.controller.md.sal.dom.api.DOMDataBroker;
16 @Deprecated(forRemoval = true)
18 public interface AdapterFactory {
20 * Return a {@link DataBroker} implementation backed by the specified {@link DOMDataBroker}.
22 * @param domBroker Backing DOMDataBroker
23 * @return A DataBroker instance.
24 * @throws NullPointerException if {@code domBroker} is null.
26 DataBroker createDataBroker(DOMDataBroker domBroker);