Skip to content

Commit

Permalink
Issue #7513 Move jmx annotation to PropertiesConfigurationManager.get…
Browse files Browse the repository at this point in the history
…File

Signed-off-by: Jan Bartel <[email protected]>
  • Loading branch information
janbartel committed Feb 4, 2022
1 parent 4166f85 commit e8fb8bf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,14 @@ public PropertiesConfigurationManager()
this(null);
}

@ManagedAttribute("A file or URL of properties")
public void setFile(String resource) throws IOException
{
_properties = resource;
_map.clear();
loadProperties(_properties);
}

@ManagedAttribute("A file or URL of properties")
public String getFile()
{
return _properties;
Expand Down

0 comments on commit e8fb8bf

Please sign in to comment.