105106107108109110111112
} else if ( DataSource.class.isAssignableFrom( unwrapType ) ) { return (T) ds; } else { throw new UnknownUnwrapTypeException( unwrapType ); } }
49505152535455
return false; } @Override public <T> T unwrap(Class<T> unwrapType) { throw new UnknownUnwrapTypeException(unwrapType); }
101102103104105106107108
if ( ConnectionProvider.class.equals( unwrapType ) || ProxoolConnectionProvider.class.isAssignableFrom( unwrapType ) ) { return (T) this; } else { throw new UnknownUnwrapTypeException( unwrapType ); } }
9596979899100101102
117118119120121122123124
109110111112113114115116
8081828384858687
if ( ConnectionProvider.class.equals( unwrapType ) || DriverManagerConnectionProviderImpl.class.isAssignableFrom( unwrapType ) ) { return (T) this; } else { throw new UnknownUnwrapTypeException( unwrapType ); } }
246247248249250251252
if ( ConnectionProvider.class.equals( unwrapType ) || BoneCPConnectionProvider.class.isAssignableFrom( unwrapType ) ) { return (T) this; } throw new UnknownUnwrapTypeException( unwrapType ); }