So on an spring 3 app I'm building, it would be convenient to be able to read a value from configuration, and then based off of the value read, choose between two implementations of an interface and then build a bean of that object.
I have the config file setup (using util:properties), and other java code is accessing it just fine, but I'm uncertain about how to reference it in my application context xml file, and how to code this conditional logic. Or am I going about this incorrectly?