com.alibaba.druid.proxy.jdbc
类 WrapperProxyImpl

java.lang.Object
  继承者 com.alibaba.druid.proxy.jdbc.WrapperProxyImpl
所有已实现的接口:
WrapperProxy, Wrapper
直接已知子类:
ConnectionProxyImpl, ResultSetMetaDataProxyImpl, ResultSetProxyImpl, StatementProxyImpl

public abstract class WrapperProxyImpl
extends Object
implements WrapperProxy

作者:
wenshao

构造方法摘要
WrapperProxyImpl(Wrapper wrapper, long id)
           
 
方法摘要
 void clearAttributes()
           
abstract  FilterChain createChain()
           
 Object getAttribute(String key)
           
 Map<String,Object> getAttributes()
           
 int getAttributesSize()
           
 long getId()
           
 Object getRawObject()
           
 boolean isWrapperFor(Class<?> iface)
           
 void putAttribute(String key, Object value)
           
<T> T
unwrap(Class<T> iface)
           
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

WrapperProxyImpl

public WrapperProxyImpl(Wrapper wrapper,
                        long id)
方法详细信息

getId

public long getId()
指定者:
接口 WrapperProxy 中的 getId

getRawObject

public Object getRawObject()
指定者:
接口 WrapperProxy 中的 getRawObject

createChain

public abstract FilterChain createChain()

isWrapperFor

public boolean isWrapperFor(Class<?> iface)
                     throws SQLException
指定者:
接口 Wrapper 中的 isWrapperFor
抛出:
SQLException

unwrap

public <T> T unwrap(Class<T> iface)
         throws SQLException
指定者:
接口 Wrapper 中的 unwrap
抛出:
SQLException

getAttributesSize

public int getAttributesSize()
指定者:
接口 WrapperProxy 中的 getAttributesSize

clearAttributes

public void clearAttributes()
指定者:
接口 WrapperProxy 中的 clearAttributes

getAttributes

public Map<String,Object> getAttributes()
指定者:
接口 WrapperProxy 中的 getAttributes

putAttribute

public void putAttribute(String key,
                         Object value)
指定者:
接口 WrapperProxy 中的 putAttribute

getAttribute

public Object getAttribute(String key)
指定者:
接口 WrapperProxy 中的 getAttribute


Copyright © 2013-2014 Alibaba Group. All Rights Reserved.