When using Spring, is it possible to set a property only if the value passed is not null?
Example:
This looks like a job for Java-based container configuration. You'll be able to do what you do in your XML config, but with all the power of Java.