2 * Copyright (c) 2013 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.test.impl;
14 public final class IdentityTestModule extends org.opendaylight.controller.config.yang.test.impl.AbstractIdentityTestModule
17 public IdentityTestModule(org.opendaylight.controller.config.api.ModuleIdentifier identifier, org.opendaylight.controller.config.api.DependencyResolver dependencyResolver) {
18 super(identifier, dependencyResolver);
21 public IdentityTestModule(org.opendaylight.controller.config.api.ModuleIdentifier identifier, org.opendaylight.controller.config.api.DependencyResolver dependencyResolver,
22 IdentityTestModule oldModule, java.lang.AutoCloseable oldInstance) {
24 super(identifier, dependencyResolver, oldModule, oldInstance);
28 protected void customValidation(){
29 // Add custom validation for module attributes here.
33 public java.lang.AutoCloseable createInstance() {
34 System.err.println(getAfi());
35 System.err.println(getAfiIdentity());
38 for (Identities identities : getIdentities()) {
39 identities.resolveAfi();
40 identities.resolveSafi();
42 getIdentitiesContainer().resolveAfi();
44 return new AutoCloseable() {
46 public void close() throws Exception {