Merge "BUG-624 make netconf tcp address optional in config.ini with default value...
[controller.git] / opendaylight / config / config-manager / src / main / java / org / opendaylight / controller / config / manager / impl / SearchableServiceReferenceWritableRegistry.java
1 /*
2  * Copyright (c) 2013 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 given
19      * module.
20      *
21      * @throws java.lang.IllegalArgumentException if any of service qNames is not found
22      * @throws java.lang.NullPointerException     if parameter is null
23      */
24     Map<ServiceInterfaceAnnotation, String /* service ref name */> findServiceInterfaces(ModuleIdentifier moduleIdentifier);
25
26 }