You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Is it possible to change the config value while the application is running and then save the config with the changed value? (If it is then I didn't see it in the docs)
The text was updated successfully, but these errors were encountered:
Once the cfg object is updated in memory you can dump it to the filesystem using method store() exposed by the Accessible interface
Some time ago, someone asked a "smart properties save method" (see #16), unfortunately it is not easy to implement it properly.
Alternatively...
If your properties file is stored on the file system you could change the properties file (something like this), then you use the hot reload feature to have your object automatically updated. Unfortunately this use case is not available inside the library yet, so you have to implement it by your own.
Hi,
Is it possible to change the config value while the application is running and then save the config with the changed value? (If it is then I didn't see it in the docs)
The text was updated successfully, but these errors were encountered: