BUG-635: implement MD5 auth option for BGP peers
[bgpcep.git] / bgp / rib-impl-config / src / main / java / org / opendaylight / controller / config / yang / bgp / rib / impl / BGPDispatcherImplModule.java
1 /*
2  * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
3  *
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
7  */
8 /**
9  * Generated file
10
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
14  *
15  * Do not modify this file unless it is present under src/main directory
16  */
17 package org.opendaylight.controller.config.yang.bgp.rib.impl;
18
19 import org.opendaylight.protocol.bgp.parser.spi.BGPExtensionConsumerContext;
20 import org.opendaylight.protocol.bgp.rib.impl.BGPDispatcherImpl;
21
22 /**
23  *
24  */
25 public final class BGPDispatcherImplModule
26 extends
27 org.opendaylight.controller.config.yang.bgp.rib.impl.AbstractBGPDispatcherImplModule {
28
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);
33         }
34
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);
41         }
42
43         @Override
44         public java.lang.AutoCloseable createInstance() {
45                 final BGPExtensionConsumerContext bgpExtensions = getBgpExtensionsDependency();
46                 return new BGPDispatcherImpl(bgpExtensions.getMessageRegistry(), getTimerDependency(),
47                                 getBossGroupDependency(), getWorkerGroupDependency(), getMd5ChannelFactoryDependency(), getMd5ServerChannelFactoryDependency());
48         }
49 }