to get single bean of specified type . concode_field_sep PlaceHolder placeHolder concode_field_sep Collection<T> getBeansOfType concode_elem_sep Map<String,T> initializeBeans concode_elem_sep Map<String,T> getBeansFromContext concode_elem_sep T getBeanFromContext
T function ( ApplicationContext arg0 , Class < T > arg1 ) { Collection < T > loc0 = getBeansOfType ( arg0 , arg1 ) ; if ( loc0 . size ( ) != 1 ) { throw new NoSuchBeanDefinitionException ( "srini_string" + arg1 . getName ( ) + "srini_string" + arg0 . getDisplayName ( ) ) ; } return loc0 . iterator ( ) . next ( ) ; }