public abstract class WrapperAdapter extends Object implements Wrapper
java.sql.Wrapper.| 构造器和说明 |
|---|
WrapperAdapter() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
isWrapperFor(Class<?> iface) |
void |
recordMethodInvocation(Class<?> targetClass,
String methodName,
Class<?>[] argumentTypes,
Object[] arguments)
record method invocation.
|
void |
replayMethodsInvocation(Object target)
Replay methods invocation.
|
<T> T |
unwrap(Class<T> iface) |
public final <T> T unwrap(Class<T> iface) throws SQLException
unwrap 在接口中 WrapperSQLExceptionpublic final boolean isWrapperFor(Class<?> iface)
isWrapperFor 在接口中 Wrapperpublic final void recordMethodInvocation(Class<?> targetClass, String methodName, Class<?>[] argumentTypes, Object[] arguments)
targetClass - target classmethodName - method nameargumentTypes - argument typesarguments - argumentspublic final void replayMethodsInvocation(Object target)
target - target objectCopyright © 2018. All rights reserved.