public static KeywordInfo getKeywordInfo ( String keyword , ApplicationContext context , Map < String , String > beanMap ) { Object bean = context . getBean ( beanMap . get ( keyword ) ) ; return AnnotationUtils . findAnnotation ( bean . getClass ( ) , KeywordInfo . class ) ; }
Retrieves the KeywordInfo of the given keyword .