|
I use something very similar in a framework, but only at application start up to determine the configuration of major long-lived types that are themselves factories, such as logging, database config, email helper, etc., all stuff that can change depending on where it's deployed. Using this method throughout an application would be slow, but there are times where it is useful. I'm not very familiar with Spring yet, but does it do something similar? |