*I am not an expert on spring or IoC - I would like to have my client app "select" different implementations of an interface based on some conditions.
I believe Spring (or other IoC containers) allow doing this, however all examples show that the concrete class is configured in some configuration file, which is not what i am after.
I would like to (somehow) allow the container to decide which implementation to choose from (based on some conditions and a given set of classes to select from).
Is this possible? ( i am pretty sure it is).