since jndi is supported different ways in different app servers , it 's nearly impossible to have a ubiquitous way to look up a datasource . this method is intended to hide all the lookups that may be required to find a jndi name . concode_field_sep DataSourceCache cacheManager concode_field_sep String getDSBoundName concode_elem_sep DataSource retrieve concode_elem_sep void clearCache concode_elem_sep void clearDataSource concode_elem_sep DataSource queryFallback
DataSource function ( final String arg0 ) { if ( cacheManager != null ) { final DataSource loc0 = cacheManager . get ( arg0 ) ; if ( loc0 != null ) { return loc0 ; } else { return retrieve ( arg0 ) ; } } return null ; }