2 * Copyright (c) 2016 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.mdsal.binding2.generator.api;
11 import com.google.common.annotations.Beta;
12 import org.opendaylight.mdsal.binding2.spec.YangModuleInfo;
13 import org.opendaylight.yangtools.concepts.ObjectRegistration;
16 * Provides mechanism for YangModuleInfo registration
19 public interface ModuleInfoRegistry {
23 * @param yangModuleInfo YANG module info instance
24 * @return reference to registered YANG module info
26 ObjectRegistration<YangModuleInfo> registerModuleInfo(YangModuleInfo yangModuleInfo);