BUG 2718 : Create a diagnostic utility to track append entries replies
[controller.git] / opendaylight / archetypes / opendaylight-startup / src / main / resources / archetype-resources / impl / src / main / java / org / opendaylight / yang / gen / v1 / urn / opendaylight / params / xml / ns / yang / __artifactId__ / impl / rev141210 / __classPrefix__Module.java
1 #set( $symbol_pound = '#' )
2 #set( $symbol_dollar = '$' )
3 #set( $symbol_escape = '\' )
4 /*
5  * ${copyright} and others.  All rights reserved.
6  *
7  * This program and the accompanying materials are made available under the
8  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
9  * and is available at http://www.eclipse.org/legal/epl-v10.html
10  */
11 package org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.${artifactId}.impl.rev141210;
12
13 import ${package}.${classPrefix}Provider;
14
15 public class ${classPrefix}Module extends org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.${artifactId}.impl.rev141210.Abstract${classPrefix}Module {
16     public ${classPrefix}Module(org.opendaylight.controller.config.api.ModuleIdentifier identifier, org.opendaylight.controller.config.api.DependencyResolver dependencyResolver) {
17         super(identifier, dependencyResolver);
18     }
19
20     public ${classPrefix}Module(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.${artifactId}.impl.rev141210.${classPrefix}Module oldModule, java.lang.AutoCloseable oldInstance) {
21         super(identifier, dependencyResolver, oldModule, oldInstance);
22     }
23
24     @Override
25     public void customValidation() {
26         // add custom validation form module attributes here.
27     }
28
29     @Override
30     public java.lang.AutoCloseable createInstance() {
31         ${classPrefix}Provider provider = new ${classPrefix}Provider();
32         getBrokerDependency().registerProvider(provider);
33         return provider;
34     }
35
36 }