Injection of various properties of spring