Package com.alibaba.druid.proxy.jdbc
Class WrapperProxyImpl
java.lang.Object
com.alibaba.druid.proxy.jdbc.WrapperProxyImpl
- All Implemented Interfaces:
WrapperProxy
,Wrapper
- Direct Known Subclasses:
ConnectionProxyImpl
,ResultSetMetaDataProxyImpl
,ResultSetProxyImpl
,StatementProxyImpl
- Author:
- wenshao [[email protected]]
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
abstract FilterChain
getAttribute
(String key) int
long
getId()
boolean
isWrapperFor
(Class<?> iface) void
putAttribute
(String key, Object value) <T> T
-
Constructor Details
-
WrapperProxyImpl
-
-
Method Details
-
getId
public long getId()- Specified by:
getId
in interfaceWrapperProxy
-
getRawObject
- Specified by:
getRawObject
in interfaceWrapperProxy
-
createChain
-
isWrapperFor
- Specified by:
isWrapperFor
in interfaceWrapper
- Throws:
SQLException
-
unwrap
- Specified by:
unwrap
in interfaceWrapper
- Throws:
SQLException
-
getAttributesSize
public int getAttributesSize()- Specified by:
getAttributesSize
in interfaceWrapperProxy
-
clearAttributes
public void clearAttributes()- Specified by:
clearAttributes
in interfaceWrapperProxy
-
getAttributes
- Specified by:
getAttributes
in interfaceWrapperProxy
-
putAttribute
- Specified by:
putAttribute
in interfaceWrapperProxy
-
getAttribute
- Specified by:
getAttribute
in interfaceWrapperProxy
-