This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-configuration.git
commit 9ea8efab495bfa96cd083b0addb584305df83848 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Thu Jan 30 09:28:09 2025 -0500 Javadoc --- .../spring/ConfigurationPropertiesFactoryBean.java | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/apache/commons/configuration2/spring/ConfigurationPropertiesFactoryBean.java b/src/main/java/org/apache/commons/configuration2/spring/ConfigurationPropertiesFactoryBean.java index b795ecb9..33ff8fc0 100644 --- a/src/main/java/org/apache/commons/configuration2/spring/ConfigurationPropertiesFactoryBean.java +++ b/src/main/java/org/apache/commons/configuration2/spring/ConfigurationPropertiesFactoryBean.java @@ -111,14 +111,29 @@ public class ConfigurationPropertiesFactoryBean implements InitializingBean, Fac } } + /** + * Gets the composite configuration. + * + * @return the composite configuration. + */ public CompositeConfiguration getConfiguration() { return compositeConfiguration; } + /** + * Gets a copy of the configurations. + * + * @return a copy of the configurations. + */ public Configuration[] getConfigurations() { return clone(configurations); } + /** + * Gets a copy of the resource locations. + * + * @return a copy of the resource locations. + */ public Resource[] getLocations() { return clone(locations); } @@ -147,6 +162,11 @@ public class ConfigurationPropertiesFactoryBean implements InitializingBean, Fac return true; } + /** + * Tests the underlying CompositeConfiguration throwExceptionOnMissing flag. + * + * @return the underlying CompositeConfiguration throwExceptionOnMissing flag. + */ public boolean isThrowExceptionOnMissing() { return throwExceptionOnMissing; } @@ -171,7 +191,7 @@ public class ConfigurationPropertiesFactoryBean implements InitializingBean, Fac } /** - * Sets the underlying Commons CompositeConfiguration throwExceptionOnMissing flag. + * Sets the underlying CompositeConfiguration throwExceptionOnMissing flag. * * @see org.apache.commons.configuration2.AbstractConfiguration#setThrowExceptionOnMissing(boolean) * @param throwExceptionOnMissing The new value for the property