annotation configuration spring code example Example: how to do annotation configuration in spring annotation configuration definition in spring