public class ProxyUtils extends Object
| 构造器和说明 |
|---|
ProxyUtils() |
| 限定符和类型 | 方法和说明 |
|---|---|
static <T> T |
create(Class<T> interfaceType,
InvocationHandler invocationHandler)
Creates jdk proxy instance
|
static Object |
getTargetObject(Object object)
Returns the proxy target object
|
public static <T> T create(Class<T> interfaceType, InvocationHandler invocationHandler)
T - the interface typeinterfaceType - the interface classinvocationHandler - jdk invocation handlerCopyright © 2023. All rights reserved.