Issue #7513 Move jmx annotation to PropertiesConfigurationManager.getFile (#7532)

Signed-off-by: Jan Bartel <janb@webtide.com>
This commit is contained in:
Jan Bartel 2022-02-11 09:16:26 +11:00 committed by GitHub
parent 9602120b9b
commit ff0b596ca7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,6 @@ public class PropertiesConfigurationManager implements ConfigurationManager, Dum
this(null);
}
@ManagedAttribute("A file or URL of properties")
public void setFile(String resource) throws IOException
{
_properties = resource;
@ -65,6 +64,7 @@ public class PropertiesConfigurationManager implements ConfigurationManager, Dum
loadProperties(_properties);
}
@ManagedAttribute("A file or URL of properties")
public String getFile()
{
return _properties;