Package com.alibaba.druid.pool
Class PoolableWrapper
- java.lang.Object
-
- com.alibaba.druid.pool.PoolableWrapper
-
- All Implemented Interfaces:
Wrapper
- Direct Known Subclasses:
DruidPooledConnection,DruidPooledResultSet,DruidPooledStatement
public class PoolableWrapper extends Object implements Wrapper
- Author:
- wenshao [szujobs@hotmail.com]
-
-
Constructor Summary
Constructors Constructor Description PoolableWrapper(Wrapper wraaper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisWrapperFor(Class<?> iface)<T> Tunwrap(Class<T> iface)
-
-
-
Constructor Detail
-
PoolableWrapper
public PoolableWrapper(Wrapper wraaper)
-
-
Method Detail
-
isWrapperFor
public boolean isWrapperFor(Class<?> iface) throws SQLException
- Specified by:
isWrapperForin interfaceWrapper- Throws:
SQLException
-
unwrap
public <T> T unwrap(Class<T> iface) throws SQLException
- Specified by:
unwrapin interfaceWrapper- Throws:
SQLException
-
-