Spring (4?) understands ctor injection by name.

At least it does when there is only one string defined in the context.