Quantcast

Notify services and Spring Security that configuration changed with External Configuration Reload plugin

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Notify services and Spring Security that configuration changed with External Configuration Reload plugin

Juan Asensio Sánchez
Hi

I am trying to configure my application to load the configuration from
external configuration files with the External Configuration Reload
plugin (http://grails.org/plugin/external-config-reload). I have
configured it, and I see in the logs that the plugin detects my
changes when I edit the configuration file. Now I want no totify the
services that the configuration changed, so they can apply it (an
example, a service that creates at startup a persistent LDAP
connection, and it must be re-stablished if the configuration
changes). How can I do this?

Tha same applies to Spring Security (Core/LDAP/CAS/etc), how can I do
to these plugins detect/notify its configuration changed? Or even to
the database connection datasource?

Regards and thanks in advance.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Loading...