Register scope in spring xml