2 * Copyright (c) 2015 Cisco Systems, 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.controller.config.yang.md.sal.binding.impl;
10 import org.opendaylight.controller.md.sal.binding.compat.HydrogenDataBrokerAdapter;
12 import java.util.Collection;
13 import java.util.Collections;
14 import org.opendaylight.controller.sal.core.api.Broker.ProviderSession;
15 import org.opendaylight.controller.sal.core.api.Provider;
21 public final class ForwardedCompatibleDataBrokerImplModule extends
22 org.opendaylight.controller.config.yang.md.sal.binding.impl.AbstractForwardedCompatibleDataBrokerImplModule
25 public ForwardedCompatibleDataBrokerImplModule(
26 final org.opendaylight.controller.config.api.ModuleIdentifier identifier,
27 final org.opendaylight.controller.config.api.DependencyResolver dependencyResolver) {
28 super(identifier, dependencyResolver);
31 public ForwardedCompatibleDataBrokerImplModule(
32 final org.opendaylight.controller.config.api.ModuleIdentifier identifier,
33 final org.opendaylight.controller.config.api.DependencyResolver dependencyResolver,
34 final ForwardedCompatibleDataBrokerImplModule oldModule, final java.lang.AutoCloseable oldInstance) {
36 super(identifier, dependencyResolver, oldModule, oldInstance);
40 protected void customValidation() {
44 public java.lang.AutoCloseable createInstance() {
45 final HydrogenDataBrokerAdapter dataBroker = new HydrogenDataBrokerAdapter(getDataBrokerDependency());
50 public void onSessionInitiated(final ProviderSession session) {
55 public Collection<ProviderFunctionality> getProviderFunctionality() {
56 return Collections.emptySet();