*/
package org.opendaylight.controller.config.yang.programming.impl;
+import org.opendaylight.controller.config.api.DependencyResolver;
+import org.opendaylight.controller.config.api.DynamicMBeanWithInstance;
+import org.opendaylight.controller.config.spi.Module;
+import org.osgi.framework.BundleContext;
+
/**
-*
-*/
+ * @deprecated Replaced by blueprint wiring
+ */
public class InstructionSchedulerImplModuleFactory extends
org.opendaylight.controller.config.yang.programming.impl.AbstractInstructionSchedulerImplModuleFactory {
+ @Override
+ public Module createModule(final String instanceName, final DependencyResolver dependencyResolver,
+ final BundleContext bundleContext) {
+ final InstructionSchedulerImplModule module = (InstructionSchedulerImplModule)
+ super.createModule(instanceName, dependencyResolver, bundleContext);
+ module.setBundleContext(bundleContext);
+ return module;
+ }
+
+ @Override
+ public Module createModule(final String instanceName, final DependencyResolver dependencyResolver,
+ final DynamicMBeanWithInstance old, final BundleContext bundleContext) throws Exception {
+ final InstructionSchedulerImplModule module = (InstructionSchedulerImplModule)
+ super.createModule(instanceName, dependencyResolver, old, bundleContext);
+ module.setBundleContext(bundleContext);
+ return module;
+ }
}