Annotation Required type in Spring