2 * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
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
8 package org.opendaylight.controller.config.api;
12 import javax.management.InstanceNotFoundException;
13 import javax.management.ObjectName;
15 public interface LookupRegistry {
18 * Find all modules. Same Module can be registered multiple times.
22 Set<ObjectName> lookupConfigBeans();
25 * Find modules with given module name.
30 Set<ObjectName> lookupConfigBeans(String moduleName);
36 * exact match for searched module name, can contain '*' to match
39 * exact match for searched instance name, can contain '*' to
43 Set<ObjectName> lookupConfigBeans(String moduleName, String instanceName);
49 * exact match for searched module name, can contain '*' to match
52 * exact match for searched instance name, can contain '*' to
55 * @throws InstanceNotFoundException
56 * if search did not find exactly one instance
58 ObjectName lookupConfigBean(String moduleName, String instanceName)
59 throws InstanceNotFoundException;