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
12 * Generated from: yang module name: threadpool-impl yang module local name: async-eventbus
13 * Generated by: org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
14 * Generated at: Tue Nov 05 15:40:46 CET 2013
16 * Do not modify this file unless it is present under src/main directory
18 package org.opendaylight.controller.config.yang.threadpool.impl;
20 import org.opendaylight.controller.config.threadpool.util.CloseableAsyncEventBus;
23 * To be removed in Nitrogen
26 public final class AsyncEventBusModule extends
27 org.opendaylight.controller.config.yang.threadpool.impl.AbstractAsyncEventBusModule {
29 public AsyncEventBusModule(org.opendaylight.controller.config.api.ModuleIdentifier identifier,
30 org.opendaylight.controller.config.api.DependencyResolver dependencyResolver) {
31 super(identifier, dependencyResolver);
34 public AsyncEventBusModule(org.opendaylight.controller.config.api.ModuleIdentifier identifier,
35 org.opendaylight.controller.config.api.DependencyResolver dependencyResolver,
36 AsyncEventBusModule oldModule, java.lang.AutoCloseable oldInstance) {
37 super(identifier, dependencyResolver, oldModule, oldInstance);
41 public void validate() {
43 // Add custom validation for module attributes here.
47 public java.lang.AutoCloseable createInstance() {
48 return new CloseableAsyncEventBus(getIdentifier().toString(), getThreadpoolDependency(),
49 getRootRuntimeBeanRegistratorWrapper());