This program and the accompanying materials are made available under the
terms of the Eclipse Public License v1.0 which accompanies this distribution,
and is available at http://www.eclipse.org/legal/epl-v10.html
+
+ NOTE: This file is deprecated as wiring is now done via blueprint. This file is kept for
+ backwards compatibility. Runtime modifications are not honored.
-->
<snapshot>
<required-capabilities>
}
identity netty-threadgroup {
+ status deprecated;
description
"Configuration wrapper around netty's threadgroup";
}
identity netty-event-executor {
+ status deprecated;
description
"Configuration wrapper around netty's event executor";
}
identity netty-timer {
+ status deprecated;
description
"Configuration wrapper around netty's timer";
}
identity channel-factory {
+ status deprecated;
description
"Configuration wrapper around netty's channel factory";
import org.opendaylight.controller.config.yang.netty.eventexecutor.AutoCloseableEventExecutor.CloseableEventExecutorMixin;
import org.osgi.framework.BundleContext;
+/**
+ * @deprecated Replaced by blueprint wiring
+ */
+@Deprecated
public final class GlobalEventExecutorModule extends
org.opendaylight.controller.config.yang.netty.eventexecutor.AbstractGlobalEventExecutorModule {
private BundleContext bundleContext;
import org.opendaylight.controller.config.api.DependencyResolver;
import org.osgi.framework.BundleContext;
+/**
+ * @deprecated Replaced by blueprint wiring
+ */
+@Deprecated
public class GlobalEventExecutorModuleFactory extends org.opendaylight.controller.config.yang.netty.eventexecutor.AbstractGlobalEventExecutorModuleFactory {
public static final String SINGLETON_NAME = "singleton";
import org.opendaylight.controller.config.yang.netty.eventexecutor.AutoCloseableEventExecutor.CloseableEventExecutorMixin;
+/**
+ * @deprecated Replaced by blueprint wiring
+ */
+@Deprecated
public final class ImmediateEventExecutorModule extends org.opendaylight.controller.config.yang.netty.eventexecutor.AbstractImmediateEventExecutorModule {
public ImmediateEventExecutorModule(org.opendaylight.controller.config.api.ModuleIdentifier identifier, org.opendaylight.controller.config.api.DependencyResolver dependencyResolver) {
package org.opendaylight.controller.config.yang.netty.eventexecutor;
import static com.google.common.base.Preconditions.checkArgument;
-
import org.opendaylight.controller.config.api.DependencyResolver;
import org.osgi.framework.BundleContext;
+/**
+ * @deprecated Replaced by blueprint wiring
+ */
+@Deprecated
public class ImmediateEventExecutorModuleFactory extends org.opendaylight.controller.config.yang.netty.eventexecutor.AbstractImmediateEventExecutorModuleFactory {
public static final String SINGLETON_NAME = "singleton";
}
identity netty-global-event-executor {
+ status deprecated;
base config:module-type;
config:provided-service netty:netty-event-executor;
config:java-name-prefix GlobalEventExecutor;
}
identity netty-immediate-event-executor {
+ status deprecated;
base config:module-type;
config:provided-service netty:netty-event-executor;
config:java-name-prefix ImmediateEventExecutor;
import org.osgi.framework.BundleContext;
/**
-*
-*/
+ * @deprecated Replaced by blueprint wiring
+ */
+@Deprecated
public final class NettyThreadgroupModule extends org.opendaylight.controller.config.yang.netty.threadgroup.AbstractNettyThreadgroupModule
{
private BundleContext bundleContext;
import org.opendaylight.controller.config.api.DependencyResolver;
import org.osgi.framework.BundleContext;
+/**
+ * @deprecated Replaced by blueprint wiring
+ */
+@Deprecated
public class NettyThreadgroupModuleFactory extends AbstractNettyThreadgroupModuleFactory {
@Override
public NettyThreadgroupModule instantiateModule(String instanceName, DependencyResolver dependencyResolver,
<cm:property-placeholder persistent-id="org.opendaylight.netty.threadgroup" update-strategy="none">
<cm:default-properties>
- <!-- 0 means use the default number of threads -->
+ <!-- 0 means use the default number of threads which is 2 * number of CPUs -->
<cm:property name="global-boss-group-thread-count" value="0"/>
<cm:property name="global-worker-group-thread-count" value="0"/>
</cm:default-properties>
}
identity netty-threadgroup-fixed {
+ status deprecated;
base config:module-type;
config:provided-service netty:netty-threadgroup;
config:java-name-prefix NettyThreadgroup;
when "/config:modules/config:module/config:type = 'netty-threadgroup-fixed'";
leaf thread-count {
+ status deprecated;
type uint16;
description "Number of threads to be used by NioEventLoopGroup. This attribute is optional and default value will be 2* Number of CPUs";
}
}
-
- augment "/config:modules/config:module/config:state" {
- case netty-threadgroup-fixed {
- when "/config:modules/config:module/config:type = 'netty-threadgroup-fixed'";
- }
- }
-
}
import org.osgi.framework.BundleContext;
/**
-*
-*/
+ * @deprecated Replaced by blueprint wiring
+ */
+@Deprecated
public final class HashedWheelTimerModule extends
org.opendaylight.controller.config.yang.netty.timer.AbstractHashedWheelTimerModule {
private BundleContext bundleContext;
import org.opendaylight.controller.config.api.DependencyResolver;
import org.osgi.framework.BundleContext;
+/**
+ * @deprecated Replaced by blueprint wiring
+ */
+@Deprecated
public class HashedWheelTimerModuleFactory extends AbstractHashedWheelTimerModuleFactory {
@Override
public HashedWheelTimerModule instantiateModule(String instanceName, DependencyResolver dependencyResolver,
}
identity netty-hashed-wheel-timer {
+ status deprecated;
base config:module-type;
config:provided-service netty:netty-timer;
config:java-name-prefix HashedWheelTimer;
when "/config:modules/config:module/config:type = 'netty-hashed-wheel-timer'";
leaf tick-duration {
+ status deprecated;
type uint32;
}
leaf ticks-per-wheel {
+ status deprecated;
type uint16;
}
container thread-factory {
+ status deprecated;
uses config:service-ref {
refine type {
mandatory false;