refactor use of cda.spring.xml