BGPCEP-580: Implement PCEP stats DS rendering
[bgpcep.git] / config-loader / config-loader-spi / src / main / java / org / opendaylight / protocol / bgp / config / loader / spi / ConfigLoader.java
1 /*
2  * Copyright (c) 2016 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
9 package org.opendaylight.protocol.bgp.config.loader.spi;
10
11 import javax.annotation.Nonnull;
12 import org.opendaylight.mdsal.binding.dom.codec.api.BindingNormalizedNodeSerializer;
13 import org.opendaylight.yangtools.concepts.AbstractRegistration;
14
15 public interface ConfigLoader {
16     /**
17      * Register object model handler.
18      *
19      * @param config Config File Processor
20      */
21     @Nonnull
22     AbstractRegistration registerConfigFile(@Nonnull ConfigFileProcessor config);
23
24     /**
25      * Provides BindingNormalizedNodeSerializer.
26      *
27      * @return Binding Normalized node serializer
28      */
29     @Nonnull
30     BindingNormalizedNodeSerializer getBindingNormalizedNodeSerializer();
31 }