Spring config from java to scala.