2 * Copyright (c) 2013 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
11 * Generated from: yang module name: bgp-rib-impl yang module local name: bgp-dispatcher-impl
12 * Generated by: org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
13 * Generated at: Wed Nov 06 13:02:32 CET 2013
15 * Do not modify this file unless it is present under src/main directory
17 package org.opendaylight.controller.config.yang.bgp.rib.impl;
19 import org.opendaylight.protocol.bgp.parser.spi.BGPExtensionConsumerContext;
20 import org.opendaylight.protocol.bgp.rib.impl.BGPDispatcherImpl;
25 public final class BGPDispatcherImplModule extends org.opendaylight.controller.config.yang.bgp.rib.impl.AbstractBGPDispatcherImplModule {
27 public BGPDispatcherImplModule(final org.opendaylight.controller.config.api.ModuleIdentifier name,
28 final org.opendaylight.controller.config.api.DependencyResolver dependencyResolver) {
29 super(name, dependencyResolver);
32 public BGPDispatcherImplModule(final org.opendaylight.controller.config.api.ModuleIdentifier name,
33 final org.opendaylight.controller.config.api.DependencyResolver dependencyResolver, final BGPDispatcherImplModule oldModule,
34 final java.lang.AutoCloseable oldInstance) {
35 super(name, dependencyResolver, oldModule, oldInstance);
39 public java.lang.AutoCloseable createInstance() {
40 final BGPExtensionConsumerContext bgpExtensions = getBgpExtensionsDependency();
41 return new BGPDispatcherImpl(bgpExtensions.getMessageRegistry(), getBossGroupDependency(), getWorkerGroupDependency());