| 限定符 | 构造器和说明 |
|---|---|
protected |
AbstractWrapper(Object delegate) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
static boolean |
isProxy(Class<?> clazz)
Used to determine if the given class is a proxy class.
|
static boolean |
isProxy(Object obj)
Used to determine is a given object is a Proxy created by this proxy factory.
|
boolean |
isWrapperFor(Class<?> iface) |
<T> T |
unwrap(Class<T> iface) |
Object |
unwrapP6SpyProxy()
Returns the underlying object for the proxy.
|
protected AbstractWrapper(Object delegate)
public static boolean isProxy(Object obj)
obj - the object in questionpublic static boolean isProxy(Class<?> clazz)
clazz - the class in questionpublic <T> T unwrap(Class<T> iface) throws SQLException
unwrap 在接口中 WrapperSQLExceptionpublic boolean isWrapperFor(Class<?> iface) throws SQLException
isWrapperFor 在接口中 WrapperSQLExceptionpublic Object unwrapP6SpyProxy()
P6Proxy
WARNING: This is an internal method for P6Spy. This method should not be called directly. Use the methods
on the Wrapper interface instead!
unwrapP6SpyProxy 在接口中 P6ProxyCopyright © 2019. All rights reserved.