@configuration annotation in spring boot example Example: how to do annotation configuration in spring annotation configuration definition in spring