public static DataSourceConfiguration getDataSourceConfiguration ( final DataSource dataSource ) { DataSourceConfiguration result = new DataSourceConfiguration ( dataSource . getClass ( ) . getName ( ) ) ; result . getProperties ( ) . putAll ( findAllGetterProperties ( dataSource ) ) ; return result ; }
Get data source configuration .