4 * Generated from: yang module name: opendaylight-sal-binding-broker-impl yang module local name: binding-broker-impl
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 org.opendaylight.controller.sal.binding.impl.BindingAwareBrokerImpl;
13 import org.osgi.framework.BundleContext;
18 public final class BindingBrokerImplModule extends org.opendaylight.controller.config.yang.md.sal.binding.impl.AbstractBindingBrokerImplModule
21 private BundleContext bundleContext;
23 public BindingBrokerImplModule(org.opendaylight.controller.config.api.ModuleIdentifier identifier, org.opendaylight.controller.config.api.DependencyResolver dependencyResolver) {
24 super(identifier, dependencyResolver);
27 public BindingBrokerImplModule(org.opendaylight.controller.config.api.ModuleIdentifier identifier, org.opendaylight.controller.config.api.DependencyResolver dependencyResolver, BindingBrokerImplModule oldModule, java.lang.AutoCloseable oldInstance) {
28 super(identifier, dependencyResolver, oldModule, oldInstance);
32 public void validate(){
34 // Add custom validation for module attributes here.
38 public java.lang.AutoCloseable createInstance() {
39 BindingAwareBrokerImpl broker = new BindingAwareBrokerImpl(getBundleContext());
40 broker.setDataBroker(getDataBrokerDependency());
41 broker.setNotifyBroker(getNotificationServiceDependency());
46 public BundleContext getBundleContext() {
50 public void setBundleContext(BundleContext bundleContext) {
51 this.bundleContext = bundleContext;