Merge "Added DELETE support for Bridge and Port resources"
[controller.git] / opendaylight / config / threadpool-config-impl / src / main / java / org / opendaylight / controller / config / yang / threadpool / impl / AsyncEventBusModule.java
1 /**
2  * Generated file
3
4  * Generated from: yang module name: threadpool-impl  yang module local name: async-eventbus
5  * Generated by: org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
6  * Generated at: Tue Nov 05 15:40:46 CET 2013
7  *
8  * Do not modify this file unless it is present under src/main directory
9  */
10 package org.opendaylight.controller.config.yang.threadpool.impl;
11
12 import org.opendaylight.controller.config.threadpool.util.CloseableAsyncEventBus;
13
14 /**
15 *
16 */
17 public final class AsyncEventBusModule extends
18         org.opendaylight.controller.config.yang.threadpool.impl.AbstractAsyncEventBusModule {
19
20     public AsyncEventBusModule(org.opendaylight.controller.config.api.ModuleIdentifier identifier,
21             org.opendaylight.controller.config.api.DependencyResolver dependencyResolver) {
22         super(identifier, dependencyResolver);
23     }
24
25     public AsyncEventBusModule(org.opendaylight.controller.config.api.ModuleIdentifier identifier,
26             org.opendaylight.controller.config.api.DependencyResolver dependencyResolver,
27             AsyncEventBusModule oldModule, java.lang.AutoCloseable oldInstance) {
28         super(identifier, dependencyResolver, oldModule, oldInstance);
29     }
30
31     @Override
32     public void validate() {
33         super.validate();
34         // Add custom validation for module attributes here.
35     }
36
37     @Override
38     public java.lang.AutoCloseable createInstance() {
39         return new CloseableAsyncEventBus(getIdentifier().toString(), getThreadpoolDependency(),
40                 getRootRuntimeBeanRegistratorWrapper());
41     }
42 }