2 * Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved.
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
9 package org.opendaylight.controller.config.yang.sal.restconf.service;
11 import org.opendaylight.netconf.sal.restconf.impl.JSONRestconfServiceImpl;
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);
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);
29 public void customValidation() {
30 // add custom validation form module attributes here.
34 public java.lang.AutoCloseable createInstance() {
35 return new JSONRestconfServiceImpl();