4 * Generated from: yang module name: opendaylight-sal-binding-broker-impl yang module local name: binding-notification-broker
5 * Generated by: org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
6 * Generated at: Wed Nov 20 17:33:01 CET 2013
8 * Do not modify this file unless it is present under src/main directory
10 package org.opendaylight.controller.config.yang.md.sal.binding.impl;
12 import java.util.concurrent.ExecutorService;
13 import java.util.concurrent.Executors;
14 import java.util.concurrent.ScheduledExecutorService;
16 import org.opendaylight.controller.sal.binding.codegen.impl.SingletonHolder;
17 import org.opendaylight.controller.sal.binding.impl.NotificationBrokerImpl;
19 import com.google.common.util.concurrent.ListeningExecutorService;
20 import com.google.common.util.concurrent.MoreExecutors;
25 public final class NotificationBrokerImplModule extends
26 org.opendaylight.controller.config.yang.md.sal.binding.impl.AbstractNotificationBrokerImplModule {
28 public NotificationBrokerImplModule(org.opendaylight.controller.config.api.ModuleIdentifier identifier,
29 org.opendaylight.controller.config.api.DependencyResolver dependencyResolver) {
30 super(identifier, dependencyResolver);
33 public NotificationBrokerImplModule(org.opendaylight.controller.config.api.ModuleIdentifier identifier,
34 org.opendaylight.controller.config.api.DependencyResolver dependencyResolver,
35 NotificationBrokerImplModule oldModule, java.lang.AutoCloseable oldInstance) {
36 super(identifier, dependencyResolver, oldModule, oldInstance);
40 public void validate() {
42 // Add custom validation for module attributes here.
46 public java.lang.AutoCloseable createInstance() {
47 ListeningExecutorService listeningExecutor = SingletonHolder.getDefaultNotificationExecutor();
48 NotificationBrokerImpl broker = new NotificationBrokerImpl(listeningExecutor);