All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.opendaylight.jsonrpc.model.SchemaContextProvider Maven / Gradle / Ivy

The newest version!
/*
 * Copyright (c) 2017 Brocade Communications Systems, Inc. All rights reserved.
 *
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
 * and is available at http://www.eclipse.org/legal/epl-v10.html
 */
package org.opendaylight.jsonrpc.model;

import org.eclipse.jdt.annotation.NonNull;
import org.opendaylight.yang.gen.v1.urn.opendaylight.jsonrpc.rev161201.Peer;
import org.opendaylight.yangtools.yang.model.api.EffectiveModelContext;

/**
 * API for creating {@link EffectiveModelContext} for given {@link Peer}.
 *
 * @author Richard Kosegi
 */
public interface SchemaContextProvider {
    /**
     * Create {@link EffectiveModelContext} for given {@link Peer}. This method never returns null.
     *
     * @param peer {@link Peer} instance to create {@link EffectiveModelContext} for
     * @return {@link EffectiveModelContext}
     */
    EffectiveModelContext createSchemaContext(@NonNull Peer peer);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy