X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fconfig%2Fconfig-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fconfig%2Fapi%2FConfigRegistry.java;h=a3c747bafbfdf566254c69cda36196a6fbb989d7;hb=f43b01b81319959b1907e3e04537f5169e7f33d8;hp=275858cbedc5742f56f1a4478dd942d0139b88bb;hpb=3314dddc5692bed5eb837b0739ac3bb5ed1962ab;p=controller.git diff --git a/opendaylight/config/config-api/src/main/java/org/opendaylight/controller/config/api/ConfigRegistry.java b/opendaylight/config/config-api/src/main/java/org/opendaylight/controller/config/api/ConfigRegistry.java index 275858cbed..a3c747bafb 100644 --- a/opendaylight/config/config-api/src/main/java/org/opendaylight/controller/config/api/ConfigRegistry.java +++ b/opendaylight/config/config-api/src/main/java/org/opendaylight/controller/config/api/ConfigRegistry.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, @@ -21,7 +21,7 @@ public interface ConfigRegistry extends LookupRegistry, ServiceReferenceReadable /** * Only well-known ObjectName in configuration system, under which - * ConfigRegisry is registered. + * ConfigRegistry is registered. */ ObjectName OBJECT_NAME = ConfigRegistryConstants.OBJECT_NAME; ObjectName OBJECT_NAME_NO_NOTIFICATIONS = ConfigRegistryConstants.OBJECT_NAME_NO_NOTIFICATIONS; @@ -29,7 +29,8 @@ public interface ConfigRegistry extends LookupRegistry, ServiceReferenceReadable /** * Opens new configuration transaction. * - * @return {@link ObjectName} of {@link ConfigTransactionControllerMXBean} + * @return {@link ObjectName} of + * {@link org.opendaylight.controller.config.api.jmx.ConfigTransactionControllerMXBean} */ ObjectName beginConfig(); @@ -38,8 +39,8 @@ public interface ConfigRegistry extends LookupRegistry, ServiceReferenceReadable * * @param transactionControllerON * {@link ObjectName} of - * {@link ConfigTransactionControllerMXBean} that was received in - * {@link #beginConfig()} method call. + * {@link org.opendaylight.controller.config.api.jmx.ConfigTransactionControllerMXBean} + * that was received in {@link #beginConfig()} method call. * @return CommitStatus * @throws ValidationException * if validation fails @@ -50,20 +51,23 @@ public interface ConfigRegistry extends LookupRegistry, ServiceReferenceReadable throws ConflictingVersionException, ValidationException; /** + * List of open configuration transactions. + * * @return list of open configuration transactions. */ List getOpenConfigs(); /** * Will return true unless there was a transaction that succeeded during - * validation but failed in second phase of commit. In this case the server - * is unstable and its state is undefined. + * validation but failed in second phase of commit. In this case the server is + * unstable and its state is undefined. */ boolean isHealthy(); /** + * Get the module names available in the system. + * * @return module factory names available in the system */ Set getAvailableModuleNames(); - }