*/
package org.opendaylight.controller.config.yang.netty.timer;
+import org.opendaylight.controller.config.api.DependencyResolver;
+import org.osgi.framework.BundleContext;
+
/**
-*
-*/
-public class HashedWheelTimerModuleFactory extends
- org.opendaylight.controller.config.yang.netty.timer.AbstractHashedWheelTimerModuleFactory {
+ * @deprecated Replaced by blueprint wiring
+ */
+@Deprecated
+public class HashedWheelTimerModuleFactory extends AbstractHashedWheelTimerModuleFactory {
+ @Override
+ public HashedWheelTimerModule instantiateModule(String instanceName, DependencyResolver dependencyResolver,
+ HashedWheelTimerModule oldModule, AutoCloseable oldInstance, BundleContext bundleContext) {
+ HashedWheelTimerModule module = super.instantiateModule(instanceName, dependencyResolver, oldModule,
+ oldInstance, bundleContext);
+ module.setBundleContext(bundleContext);
+ return module;
+ }
+ @Override
+ public HashedWheelTimerModule instantiateModule(String instanceName, DependencyResolver dependencyResolver,
+ BundleContext bundleContext) {
+ HashedWheelTimerModule module = super.instantiateModule(instanceName, dependencyResolver, bundleContext);
+ module.setBundleContext(bundleContext);
+ return module;
+ }
}