X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fconfig%2Fconfig-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fconfig%2Fapi%2FLookupRegistry.java;h=0492268338e19ed3ac2bc6462712cc30137aa65e;hp=5d615c20845099d260cf5f2d0dddf5e6aad3d7bf;hb=f43b01b81319959b1907e3e04537f5169e7f33d8;hpb=7d6c45eb8cbafa91be10a66bfcdd841e74e02a4a diff --git a/opendaylight/config/config-api/src/main/java/org/opendaylight/controller/config/api/LookupRegistry.java b/opendaylight/config/config-api/src/main/java/org/opendaylight/controller/config/api/LookupRegistry.java index 5d615c2084..0492268338 100644 --- a/opendaylight/config/config-api/src/main/java/org/opendaylight/controller/config/api/LookupRegistry.java +++ b/opendaylight/config/config-api/src/main/java/org/opendaylight/controller/config/api/LookupRegistry.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved. + * Copyright (c) 2013, 2017 Cisco Systems, Inc. and others. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, @@ -24,6 +24,7 @@ public interface LookupRegistry { * Find modules with given module name. * * @param moduleName + * name of module * @return objectNames */ Set lookupConfigBeans(String moduleName); @@ -32,11 +33,11 @@ public interface LookupRegistry { * Find read modules. * * @param moduleName - * exact match for searched module name, can contain '*' to match - * all values. + * exact match for searched module name, can contain '*' to match all + * values. * @param instanceName - * exact match for searched instance name, can contain '*' to - * match all values. + * exact match for searched instance name, can contain '*' to match + * all values. * @return objectNames */ Set lookupConfigBeans(String moduleName, String instanceName); @@ -45,17 +46,16 @@ public interface LookupRegistry { * Find read module. * * @param moduleName - * exact match for searched module name, can contain '*' to match - * all values. + * exact match for searched module name, can contain '*' to match all + * values. * @param instanceName - * exact match for searched instance name, can contain '*' to - * match all values. + * exact match for searched instance name, can contain '*' to match + * all values. * @return objectNames * @throws InstanceNotFoundException * if search did not find exactly one instance */ - ObjectName lookupConfigBean(String moduleName, String instanceName) - throws InstanceNotFoundException; + ObjectName lookupConfigBean(String moduleName, String instanceName) throws InstanceNotFoundException; /** * Check that object name corresponds with existing module. @@ -65,21 +65,22 @@ public interface LookupRegistry { */ void checkConfigBeanExists(ObjectName objectName) throws InstanceNotFoundException; - /** + * Get the qNames of all ModuleFactory instances in the system. + * * @return qNames of all ModuleFactory instances in the system */ Set getAvailableModuleFactoryQNames(); /** - * Find all runtime beans + * Find all runtime beans. * * @return objectNames */ Set lookupRuntimeBeans(); /** - * Find all runtime of specified module + * Find all runtime of specified module. * * @param moduleName * of bean