public abstract class WrapperAdapter extends Object implements Wrapper
java.sql.Wrapper.| Constructor and Description |
|---|
WrapperAdapter() |
| Modifier and Type | Method and Description |
|---|---|
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 in interface WrapperSQLExceptionpublic final boolean isWrapperFor(Class<?> iface)
isWrapperFor in interface 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 © 2020 The Apache Software Foundation. All rights reserved.