程序包 | 说明 |
---|---|
org.nutz.aop |
提供对 Java 类的拦截能力
通过 MeothodInterceptor 接口,对于 Java 类 public | protected 函数的提供了拦截能力。
|
org.nutz.aop.matcher |
Aop方法匹配
|
org.nutz.ioc.aop.config | |
org.nutz.ioc.aop.config.impl |
限定符和类型 | 方法和说明 |
---|---|
ClassAgent |
ClassAgent.addInterceptor(MethodMatcher matcher,
MethodInterceptor inte)
添加拦截器
|
ClassAgent |
AbstractClassAgent.addInterceptor(MethodMatcher matcher,
MethodInterceptor listener) |
限定符和类型 | 类和说明 |
---|---|
class |
RegexMethodMatcher |
class |
SimpleMethodMatcher |
限定符和类型 | 方法和说明 |
---|---|
static MethodMatcher |
MethodMatcherFactory.matcher() |
static MethodMatcher |
MethodMatcherFactory.matcher(int mod) |
static MethodMatcher |
MethodMatcherFactory.matcher(String regex) |
static MethodMatcher |
MethodMatcherFactory.matcher(String regex,
int mod) |
static MethodMatcher |
MethodMatcherFactory.matcher(String regex,
String ignore,
int mod) |
限定符和类型 | 方法和说明 |
---|---|
MethodMatcher |
InterceptorPair.getMethodMatcher() |
限定符和类型 | 方法和说明 |
---|---|
void |
InterceptorPair.setMethodMatcher(MethodMatcher methodMatcher) |
构造器和说明 |
---|
InterceptorPair(MethodInterceptor methodInterceptor,
MethodMatcher methodMatcher) |
限定符和类型 | 方法和说明 |
---|---|
MethodMatcher |
AopConfigrationItem.getMethodMatcher() |
Copyright © 2017. All rights reserved.