6163ce0041d356beb789d924b5e678418340d42d
[controller.git] / opendaylight / config / netty-event-executor-config / src / main / java / org / opendaylight / controller / config / yang / netty / eventexecutor / ImmediateEventExecutorModule.java
1 /*
2  * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8 package org.opendaylight.controller.config.yang.netty.eventexecutor;
9
10 import org.opendaylight.controller.config.yang.netty.eventexecutor.AutoCloseableEventExecutor.CloseableEventExecutorMixin;
11
12 /**
13  * @deprecated Replaced by blueprint wiring
14  */
15 @Deprecated
16 public final class ImmediateEventExecutorModule extends org.opendaylight.controller.config.yang.netty.eventexecutor.AbstractImmediateEventExecutorModule {
17
18     public ImmediateEventExecutorModule(org.opendaylight.controller.config.api.ModuleIdentifier identifier, org.opendaylight.controller.config.api.DependencyResolver dependencyResolver) {
19         super(identifier, dependencyResolver);
20     }
21
22     public ImmediateEventExecutorModule(org.opendaylight.controller.config.api.ModuleIdentifier identifier, org.opendaylight.controller.config.api.DependencyResolver dependencyResolver,
23                                         ImmediateEventExecutorModule oldModule, java.lang.AutoCloseable oldInstance) {
24
25         super(identifier, dependencyResolver, oldModule, oldInstance);
26     }
27
28     @Override
29     protected void customValidation() {
30         // Add custom validation for module attributes here.
31     }
32
33     @Override
34     public java.lang.AutoCloseable createInstance() {
35         return CloseableEventExecutorMixin.immediateEventExecutor();
36     }
37 }