X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=benchmark%2Fntfbenchmark%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fyang%2Fgen%2Fv1%2Furn%2Fopendaylight%2Fparams%2Fxml%2Fns%2Fyang%2Fntfbenchmark%2Fimpl%2Frev141210%2FNtfbenchmarkModule.java;fp=benchmark%2Fntfbenchmark%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fyang%2Fgen%2Fv1%2Furn%2Fopendaylight%2Fparams%2Fxml%2Fns%2Fyang%2Fntfbenchmark%2Fimpl%2Frev141210%2FNtfbenchmarkModule.java;h=0b20fe5e6384bd78d6999f08ee11e7d97ea1377f;hb=46939989aefff4b3f7cfec5c95abc8cae9c79c47;hp=0000000000000000000000000000000000000000;hpb=9120c2cf7c530f566d8af94d4f9dc2cb2d3351f7;p=controller.git diff --git a/benchmark/ntfbenchmark/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/ntfbenchmark/impl/rev141210/NtfbenchmarkModule.java b/benchmark/ntfbenchmark/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/ntfbenchmark/impl/rev141210/NtfbenchmarkModule.java new file mode 100644 index 0000000000..0b20fe5e63 --- /dev/null +++ b/benchmark/ntfbenchmark/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/ntfbenchmark/impl/rev141210/NtfbenchmarkModule.java @@ -0,0 +1,33 @@ +/* + * Copyright (c) 2015 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 + */ +package org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ntfbenchmark.impl.rev141210; + +import ntfbenchmark.impl.NtfbenchmarkProvider; + +public class NtfbenchmarkModule extends org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ntfbenchmark.impl.rev141210.AbstractNtfbenchmarkModule { + public NtfbenchmarkModule(org.opendaylight.controller.config.api.ModuleIdentifier identifier, org.opendaylight.controller.config.api.DependencyResolver dependencyResolver) { + super(identifier, dependencyResolver); + } + + public NtfbenchmarkModule(org.opendaylight.controller.config.api.ModuleIdentifier identifier, org.opendaylight.controller.config.api.DependencyResolver dependencyResolver, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ntfbenchmark.impl.rev141210.NtfbenchmarkModule oldModule, java.lang.AutoCloseable oldInstance) { + super(identifier, dependencyResolver, oldModule, oldInstance); + } + + @Override + public void customValidation() { + // add custom validation form module attributes here. + } + + @Override + public java.lang.AutoCloseable createInstance() { + NtfbenchmarkProvider provider = new NtfbenchmarkProvider(getListenServiceDependency(), getPublishServiceDependency()); + getBrokerDependency().registerProvider(provider); + return provider; + } + +}