public final class ProxyUtils extends Object
| 构造器和说明 |
|---|
ProxyUtils() |
| 限定符和类型 | 方法和说明 |
|---|---|
static <T> T |
create(InvocationHandler invocationHandler,
Class<?>... interfaceTypes)
Creates jdk proxy instance
|
static Object |
getTargetObject(Object object)
Returns the proxy target object
|
public static <T> T create(InvocationHandler invocationHandler, Class<?>... interfaceTypes)
T - the interface typeinvocationHandler - jdk invocation handlerinterfaceTypes - the interface class arrayCopyright © 2024. All rights reserved.