public final class DataSourceUnwrapper extends Object
DataSource that may have been proxied or wrapped in a custom
 Wrapper such as DelegatingDataSource.| Modifier and Type | Method and Description | 
|---|---|
| static <T> T | unwrap(DataSource dataSource,
      Class<T> target)Return an object that implements the given  targettype, unwrapping delegate
 or proxy if necessary. | 
public static <T> T unwrap(DataSource dataSource, Class<T> target)
target type, unwrapping delegate
 or proxy if necessary.T - the target typedataSource - the datasource to handletarget - the type that the result must implementnullCopyright © 2021 Pivotal Software, Inc.. All rights reserved.