Merge "Bug 8902 - Reconciliation Framework changes"
[openflowplugin.git] / applications / reconciliation-framework / src / main / java / org / opendaylight / openflowplugin / applications / reconciliation / ReconciliationManager.java
1 /*
2  * Copyright (c) 2017 Ericsson India Global Services Pvt Ltd. 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.openflowplugin.applications.reconciliation;
10
11 import java.util.List;
12 import java.util.Map;
13
14 /*
15  * Provider to register the service to reconciliation framework
16  *
17  */
18 public interface ReconciliationManager {
19     /*
20      * Application who are interested in reconciliation should use this API to
21      * register their services to the Reconciliation Framework
22      *
23      * @param object - the reference to the ReconciliationNotificationListener
24      */
25     NotificationRegistration registerService(ReconciliationNotificationListener service);
26
27     /*
28      * API exposed by RF for get list of registered services
29      *
30      * @return the Map containing registered services with priority as Key
31      */
32     Map<Integer, List<ReconciliationNotificationListener>> getRegisteredServices();
33 }