public class ProxyUtils extends Object
| 构造器和说明 |
|---|
ProxyUtils() |
| 限定符和类型 | 方法和说明 |
|---|---|
static boolean |
isAopProxy(Object object) |
static boolean |
isAsmDynamicProxy(Object object) |
static boolean |
isJdkDynamicProxy(Object object) |
static <T> T |
jdkProxy(Class<?>[] interfaces,
InvocationHandler handler) |
static <T> T |
jdkProxy(ClassLoader classloader,
Class<?>[] interfaces,
InvocationHandler handler) |
static <T> ProxyFactory |
jdkProxyFactory(Object target) |
static <T> T |
proxy(Class<?> superclass,
Class<?>[] interfaces,
Interceptor interceptor) |
static <T> T |
proxy(ClassLoader classloader,
Class<?> superclass,
Class<?>[] interfaces,
Interceptor interceptor) |
static <T> ProxyFactory |
proxyFactory(Object target) |
public static <T> ProxyFactory proxyFactory(Object target)
public static <T> ProxyFactory jdkProxyFactory(Object target)
public static <T> T proxy(Class<?> superclass, Class<?>[] interfaces, Interceptor interceptor)
public static <T> T proxy(ClassLoader classloader, Class<?> superclass, Class<?>[] interfaces, Interceptor interceptor)
public static <T> T jdkProxy(Class<?>[] interfaces, InvocationHandler handler)
public static <T> T jdkProxy(ClassLoader classloader, Class<?>[] interfaces, InvocationHandler handler)
public static boolean isAopProxy(Object object)
public static boolean isJdkDynamicProxy(Object object)
public static boolean isAsmDynamicProxy(Object object)
Copyright © 2024 fossc. All rights reserved.