| 程序包 | 说明 |
|---|---|
| net.hasor.cobble.dynamic |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
DynamicConfig.addAopInterceptor(Predicate<Method> matcher,
MethodInterceptor... interceptors)
添加Aop拦截器
|
static Class<?> |
Proxy.newProxyClass(ClassLoader loader,
Class<?> superType,
Class<?>[] interfaces,
MethodInterceptor... interceptors)
对类型已经实现的某个接口做增强,返回一个增强类型
|
static Class<?> |
Proxy.newProxyClass(ClassLoader loader,
Class<?> superType,
Predicate<Method> methodMatcher,
MethodInterceptor... interceptors)
对类型的方法做增强,返回一个增强类型
|
static <T> T |
Proxy.newProxyInstance(ClassLoader loader,
T instance,
Class<?>[] interfaces,
MethodInterceptor... interceptors)
对象已经实现的某个接口做增强
|
static <T> T |
Proxy.newProxyInstance(ClassLoader loader,
T instance,
Predicate<Method> matchers,
MethodInterceptor... interceptors)
增强一个对象,无论它是否实现任何一个接口
|
static <T> T |
Proxy.newProxyInstance(T instance,
Class<?>[] interfaces,
MethodInterceptor... interceptors)
对象已经实现的某个接口做增强
|
static <T> T |
Proxy.newProxyInstance(T instance,
Predicate<Method> matchers,
MethodInterceptor... interceptors)
增强一个对象,无论它是否实现任何一个接口
|
[Web Site]