private String getAttribute ( BeanDefinition beanDefinition , String attributeName ) { String value = null ; while ( beanDefinition != null ) { value = ( String ) beanDefinition . getAttribute ( attributeName ) ; if ( value != null ) { break ; } beanDefinition = beanDefinition . getOriginatingBeanDefinition ( ) ; } return value ; }
Searches this bean definition and all originating bean definitions until it finds the requested attribute .