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=3594ee03538f4f2bb097f319cba13a679bc39960;hb=6623a8370580d5210be559299e165c96d4097fe2;hp=43f6200ac415d76cd48abdac6aa75ea952426c2a;hpb=33ea0032f0837333a9181dd7556faa3266155080;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 43f6200ac4..3594ee0353 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,48 +1,37 @@ -/** - * 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 +/* + * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved. * - * Do not modify this file unless it is present under src/main directory + * 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 */ -package org.opendaylight.controller.config.yang.test.impl; +package org.opendaylight.controller.config.yang.test.impl; /** * */ -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); +public final 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, + public NetconfTestImplModule(org.opendaylight.controller.config.api.ModuleIdentifier identifier, org.opendaylight.controller.config.api.DependencyResolver dependencyResolver, NetconfTestImplModule oldModule, java.lang.AutoCloseable oldInstance) { - super(name, dependencyResolver, oldModule, oldInstance); + + super(identifier, dependencyResolver, oldModule, oldInstance); } @Override - public void validate() { - super.validate(); + protected void customValidation(){ // Add custom validation for module attributes here. } @Override public java.lang.AutoCloseable createInstance() { - return new AutoCloseable() { - @Override - public void close() throws Exception { - } - }; - } +return NetconfTestImplModuleUtil.registerRuntimeBeans(this); + } }