on 11-04-2016 12:19 PM - last edited on 02-04-2024 4:46 AM by postmig_api_4
Is there a way we can set the properties set in local.properties of datahub during runtime without the server restart?
Hi Ashwan!
No, that is not possible. You could try to write your custom REST service to make the properties editable via the web interface (or write a MBean which could do that). Have a look into this class:
com.hybris.commons.configuration.impl.DefaultConfigurationProvider;
Kind Regards, Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
FYI, you can access the current configuration via the bean applicationProperties
Example:
@Resource
java.util.Properties applicationProperties
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.