Sep 11th, 2008, 01:49 PM
Dynamic configuration from Java classes to Java Config
I have some configuration which are set by the users using java class. I would like to pass on these configuration to Spring Java Config classes. How do I achieve this in SJC?
For instance, the database configuration is set in the Configuration java class (custom code). I would like to pull the database configuration from this custom class and dynamically pass these parameters to DataSourceConfiguration (SJC).
Appreciate any insight into this.