BUG 274 REST response instead of NumberFormatException
[controller.git] / opendaylight / config / yang-test / src / main / java / org / opendaylight / controller / config / yang / test / impl / TestImplModule.java
1 /*
2 * Copyright (c) 2013 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 package org.opendaylight.controller.config.yang.test.impl;
9 public class TestImplModule extends org.opendaylight.controller.config.yang.test.impl.AbstractTestImplModule {
10     public TestImplModule(org.opendaylight.controller.config.api.ModuleIdentifier identifier, org.opendaylight.controller.config.api.DependencyResolver dependencyResolver) {
11         super(identifier, dependencyResolver);
12     }
13
14     public TestImplModule(org.opendaylight.controller.config.api.ModuleIdentifier identifier, org.opendaylight.controller.config.api.DependencyResolver dependencyResolver, org.opendaylight.controller.config.yang.test.impl.TestImplModule oldModule, java.lang.AutoCloseable oldInstance) {
15         super(identifier, dependencyResolver, oldModule, oldInstance);
16     }
17
18     @Override
19     public void customValidation() {
20         // add custom validation form module attributes here.
21     }
22
23     @Override
24     public java.lang.AutoCloseable createInstance() {
25         return new AutoCloseable() {
26             @Override
27             public void close() throws Exception {
28             }
29         };
30
31     }
32
33 }