8788899091929394
} else if ( DataSource.class.isAssignableFrom( unwrapType ) ) { return (T) getDataSource(); } else { throw new UnknownUnwrapTypeException( unwrapType ); } }
4950515253545556
if ( ConnectionProvider.class.equals( unwrapType ) || UserSuppliedConnectionProviderImpl.class.isAssignableFrom( unwrapType ) ) { return (T) this; } else { throw new UnknownUnwrapTypeException( unwrapType ); } }
8687888990919293
7273747576777879
public <T> T unwrap(Class<T> unwrapType) { if ( isUnwrappableAs( unwrapType ) ) { return (T) this; } else { throw new UnknownUnwrapTypeException( unwrapType ); } }
4849505152535455
7879808182838485
if ( ConnectionProvider.class.equals( unwrapType ) || DriverManagerConnectionProviderImpl.class.isAssignableFrom( unwrapType ) ) { return (T) this; } else { throw new UnknownUnwrapTypeException( unwrapType ); } }
35363738394041
return false; } @Override public <T> T unwrap(Class<T> unwrapType) { throw new UnknownUnwrapTypeException(unwrapType); }
93949596979899100
if ( ConnectionProvider.class.equals( unwrapType ) || ProxoolConnectionProvider.class.isAssignableFrom( unwrapType ) ) { return (T) this; } else { throw new UnknownUnwrapTypeException( unwrapType ); } }
6162636465666768
else if ( ConnectionProvider.class.isAssignableFrom( unwrapType ) || actualConnectionProvider.getClass().isAssignableFrom( unwrapType ) ) { return (T) getActualConnectionProvider(); } else { throw new UnknownUnwrapTypeException( unwrapType ); } }
5960616263646566
} else if ( ConnectionProvider.class.isAssignableFrom( unwrapType ) ) { return (T) actualConnectionProvider; } else { throw new UnknownUnwrapTypeException( unwrapType ); } }