X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fconfig%2Fyang-test%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fconfig%2Fyang%2Ftest%2Fimpl%2FNetconfTestImplModule.java;h=ecbf4aba33c436b9354f4c4abe0a674de258745c;hb=d9462830a5d7886c99c1116efed3ba72d62d83cf;hp=0bb3651535143acd52e653a52ef69df8457c8ee1;hpb=0641db636be750bf98e85c702c4948c7c835b9b6;p=controller.git diff --git a/opendaylight/config/yang-test/src/main/java/org/opendaylight/controller/config/yang/test/impl/NetconfTestImplModule.java b/opendaylight/config/yang-test/src/main/java/org/opendaylight/controller/config/yang/test/impl/NetconfTestImplModule.java index 0bb3651535..ecbf4aba33 100644 --- a/opendaylight/config/yang-test/src/main/java/org/opendaylight/controller/config/yang/test/impl/NetconfTestImplModule.java +++ b/opendaylight/config/yang-test/src/main/java/org/opendaylight/controller/config/yang/test/impl/NetconfTestImplModule.java @@ -1,49 +1,29 @@ -/** - * Generated file - - * Generated from: yang module name: config-test-impl yang module local name: impl-netconf - * Generated by: org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator - * Generated at: Fri Sep 27 13:02:28 CEST 2013 - * - * Do not modify this file unless it is present under src/main directory - */ -package org.opendaylight.controller.config.yang.test.impl; - -import org.opendaylight.controller.config.api.ModuleIdentifier; - -/** +/* +* Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved. * +* 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 */ -public final class NetconfTestImplModule - extends - org.opendaylight.controller.config.yang.test.impl.AbstractNetconfTestImplModule { - - public NetconfTestImplModule( - org.opendaylight.controller.config.api.ModuleIdentifier name, - org.opendaylight.controller.config.api.DependencyResolver dependencyResolver) { - super(name, dependencyResolver); +package org.opendaylight.controller.config.yang.test.impl; +public class NetconfTestImplModule extends org.opendaylight.controller.config.yang.test.impl.AbstractNetconfTestImplModule { + public NetconfTestImplModule(org.opendaylight.controller.config.api.ModuleIdentifier identifier, org.opendaylight.controller.config.api.DependencyResolver dependencyResolver) { + super(identifier, dependencyResolver); } - public NetconfTestImplModule( - org.opendaylight.controller.config.api.ModuleIdentifier name, - org.opendaylight.controller.config.api.DependencyResolver dependencyResolver, - NetconfTestImplModule oldModule, java.lang.AutoCloseable oldInstance) { - super(name, dependencyResolver, oldModule, oldInstance); + public NetconfTestImplModule(org.opendaylight.controller.config.api.ModuleIdentifier identifier, org.opendaylight.controller.config.api.DependencyResolver dependencyResolver, org.opendaylight.controller.config.yang.test.impl.NetconfTestImplModule oldModule, java.lang.AutoCloseable oldInstance) { + super(identifier, dependencyResolver, oldModule, oldInstance); } @Override - public void validate() { - super.validate(); - // Add custom validation for module attributes here. + public void customValidation() { + // add custom validation form module attributes here. } @Override public java.lang.AutoCloseable createInstance() { - return new AutoCloseable() { - @Override - public void close() throws Exception { - } - }; +return NetconfTestImplModuleUtil.registerRuntimeBeans(this); + } }