Hi Fabian,
On 12/11/14 08:11, Fabian Cretton wrote:
Is there a way for a module to be notified when its configuration has changed ?
Or should the module check for the configuration values on each call ?
You can observe
org.apache.marmotta.platform.core.events.ConfigurationChangedEvent if
you need to react on changes there.
Here you can find how we use that event on logging, for example:
https://github.com/apache/marmotta/blob/develop/platform/marmotta-core/src/main/java/org/apache/marmotta/platform/core/services/logging/LoggingServiceImpl.java#L153
Hope that helps.
Cheers,
--
Sergio Fernández
Partner Technology Manager
Redlink GmbH
m: +43 660 2747 925
e: [email protected]
w: http://redlink.co