Remove yang-test
[controller.git] / opendaylight / config / config-manager / src / main / java / org / opendaylight / controller / config / manager / impl / SearchableServiceReferenceWritableRegistry.java
1 /*
2  * Copyright (c) 2013, 2017 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.controller.config.manager.impl;
10
11 import java.util.Map;
12 import org.opendaylight.controller.config.api.ModuleIdentifier;
13 import org.opendaylight.controller.config.api.ServiceReferenceWritableRegistry;
14 import org.opendaylight.controller.config.api.annotations.ServiceInterfaceAnnotation;
15
16 public interface SearchableServiceReferenceWritableRegistry extends ServiceReferenceWritableRegistry {
17     /**
18      * Return mapping between service ref names and service interface annotation for
19      * given module.
20      *
21      * @param moduleIdentifier module id
22      * @return map
23      * @throws java.lang.IllegalArgumentException
24      *             if any of service qNames is not found
25      * @throws java.lang.NullPointerException
26      *             if parameter is null
27      */
28     Map<ServiceInterfaceAnnotation, String /* service ref name */> findServiceInterfaces(
29             ModuleIdentifier moduleIdentifier);
30 }