Bug 8351: Enforce check-style rules for restconf - sal-rest-connector
[netconf.git] / restconf / sal-rest-connector / src / main / java / org / opendaylight / controller / config / yang / sal / restconf / service / JSONRestconfServiceModule.java
1 /**
2  * Copyright (c) 2015 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 package org.opendaylight.controller.config.yang.sal.restconf.service;
10
11 import org.opendaylight.netconf.sal.restconf.impl.JSONRestconfServiceImpl;
12
13 public class JSONRestconfServiceModule
14         extends org.opendaylight.controller.config.yang.sal.restconf.service.AbstractJSONRestconfServiceModule {
15     public JSONRestconfServiceModule(org.opendaylight.controller.config.api.ModuleIdentifier identifier,
16                                      org.opendaylight.controller.config.api.DependencyResolver dependencyResolver) {
17         super(identifier, dependencyResolver);
18     }
19
20     public JSONRestconfServiceModule(
21             org.opendaylight.controller.config.api.ModuleIdentifier identifier,
22             org.opendaylight.controller.config.api.DependencyResolver dependencyResolver,
23             org.opendaylight.controller.config.yang.sal.restconf.service.JSONRestconfServiceModule oldModule,
24             java.lang.AutoCloseable oldInstance) {
25         super(identifier, dependencyResolver, oldModule, oldInstance);
26     }
27
28     @Override
29     public void customValidation() {
30         // add custom validation form module attributes here.
31     }
32
33     @Override
34     public java.lang.AutoCloseable createInstance() {
35         return new JSONRestconfServiceImpl();
36     }
37 }