Add missing headers to config, netconf subsystems
[controller.git] / opendaylight / config / threadpool-config-impl / src / main / java / org / opendaylight / controller / config / yang / threadpool / impl / NamingThreadFactoryModule.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
9 /**
10  * Generated file
11
12  * Generated from: yang module name: threadpool-impl  yang module local name: threadfactory-naming
13  * Generated by: org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
14  * Generated at: Wed Nov 06 16:19:33 CET 2013
15  *
16  * Do not modify this file unless it is present under src/main directory
17  */
18 package org.opendaylight.controller.config.yang.threadpool.impl;
19
20 import org.opendaylight.controller.config.api.JmxAttributeValidationException;
21 import org.opendaylight.controller.config.threadpool.util.NamingThreadPoolFactory;
22
23 /**
24 *
25 */
26 public final class NamingThreadFactoryModule extends
27         org.opendaylight.controller.config.yang.threadpool.impl.AbstractNamingThreadFactoryModule {
28
29     public NamingThreadFactoryModule(org.opendaylight.controller.config.api.ModuleIdentifier identifier,
30             org.opendaylight.controller.config.api.DependencyResolver dependencyResolver) {
31         super(identifier, dependencyResolver);
32     }
33
34     public NamingThreadFactoryModule(org.opendaylight.controller.config.api.ModuleIdentifier identifier,
35             org.opendaylight.controller.config.api.DependencyResolver dependencyResolver,
36             NamingThreadFactoryModule oldModule, java.lang.AutoCloseable oldInstance) {
37         super(identifier, dependencyResolver, oldModule, oldInstance);
38     }
39
40     @Override
41     public void validate() {
42         super.validate();
43         JmxAttributeValidationException.checkNotNull(getNamePrefix(), namePrefixJmxAttribute);
44     }
45
46     @Override
47     public java.lang.AutoCloseable createInstance() {
48         return new NamingThreadPoolFactory(getNamePrefix());
49     }
50 }