protected Object getBeanPropertyValue ( final String property , final Object bean ) { if ( bean == null ) { return null ; } if ( "." . equals ( property ) ) { return bean ; } try { Object data = PropertyUtils . getProperty ( bean , property ) ; return data ; } catch ( Exception e ) { LOG . error ( "Failed to get bean property " + property + " on " + bean , e ) ; return null ; } }
Get the bean property value .