spring configuration migration: xml -> java