ad090a6550d2dab6da21ba2776288ea87d00a535
[bgpcep.git] / pcep / topology / topology-provider / src / main / java / org / opendaylight / bgpcep / pcep / topology / provider / config / PCEPTopologyProviderDependencies.java
1 /*
2  * Copyright (c) 2017 Pantheon Technologies s.r.o. 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.bgpcep.pcep.topology.provider.config;
9
10 import com.google.common.annotations.Beta;
11 import org.eclipse.jdt.annotation.NonNullByDefault;
12 import org.opendaylight.bgpcep.pcep.topology.provider.TopologySessionListenerFactory;
13 import org.opendaylight.bgpcep.pcep.topology.spi.stats.TopologySessionStatsRegistry;
14 import org.opendaylight.mdsal.binding.api.DataBroker;
15 import org.opendaylight.mdsal.binding.api.RpcProviderService;
16 import org.opendaylight.protocol.pcep.PCEPDispatcher;
17
18 /**
19  * Provides required dependencies for PCEPTopologyProviderProvider instantiation.
20  */
21 @Beta
22 @NonNullByDefault
23 public interface PCEPTopologyProviderDependencies {
24     /**
25      * PCEP Dispatcher.
26      *
27      * @return PCEPDispatcher
28      */
29     PCEPDispatcher getPCEPDispatcher();
30
31     /**
32      * Rpc Provider Registry.
33      *
34      * @return RpcProviderRegistry
35      */
36     RpcProviderService getRpcProviderRegistry();
37
38     /**
39      * DataBroker.
40      *
41      * @return DataBroker
42      */
43     DataBroker getDataBroker();
44
45     /**
46      * Topology Session Listener Factory.
47      *
48      * @return TopologySessionListenerFactory
49      */
50     TopologySessionListenerFactory getTopologySessionListenerFactory();
51
52     /**
53      * Topology Session State Registry.
54      *
55      * @return TopologySessionStateRegistry
56      */
57     TopologySessionStatsRegistry getStateRegistry();
58 }