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
27 org.opendaylight.controller.config.yang.bgp.rib.impl.AbstractBGPDispatcherImplModule {
29 public BGPDispatcherImplModule(
30 final org.opendaylight.controller.config.api.ModuleIdentifier name,
31 final org.opendaylight.controller.config.api.DependencyResolver dependencyResolver) {
32 super(name, dependencyResolver);
35 public BGPDispatcherImplModule(
36 final org.opendaylight.controller.config.api.ModuleIdentifier name,
37 final org.opendaylight.controller.config.api.DependencyResolver dependencyResolver,
38 final BGPDispatcherImplModule oldModule,
39 final java.lang.AutoCloseable oldInstance) {
40 super(name, dependencyResolver, oldModule, oldInstance);
44 public java.lang.AutoCloseable createInstance() {
45 final BGPExtensionConsumerContext bgpExtensions = getBgpExtensionsDependency();
46 return new BGPDispatcherImpl(bgpExtensions.getMessageRegistry(), getTimerDependency(),
47 getBossGroupDependency(), getWorkerGroupDependency(), getMd5ChannelFactoryDependency(), getMd5ServerChannelFactoryDependency());