| 接口 | 说明 |
|---|---|
| Interceptor |
Interceptor.
|
| 类 | 说明 |
|---|---|
| Aop |
Aop 支持在任意时空便捷使用 Aop
Aop 主要功能:
1:Aop.get(Class) 根据 Class 去创建对象,然后对创建好的对象进行依赖注入
2:Aop.inject(Object) 对传入的对象进行依赖注入
3:Aop.inject(...)
|
| AopFactory |
AopFactory 是工具类 Aop 功能的具体实现,详细用法见 Aop
|
| AopManager |
AopManager
|
| Duang |
duang duang duang
自 jfinal 3.5 开始,新增了更强大的 Aop 工具,建议使用 Aop.get(...)
|
| Enhancer | 已过时 |
| InterceptorManager |
InterceptorManager.
1:管理控制层、业务层全局拦截器
2:缓存业务层 Class 级拦截器数组。
|
| InterceptorStack |
InterceptorStack.
|
| Invocation |
Invocation is used to invoke the interceptors and the target method
|
| PrototypeInterceptor |
PrototypeInterceptor.
|
| 注释类型 | 说明 |
|---|---|
| Before |
Before is used to configure Interceptor and Validator.
|
| Clear |
Clear is used to clear all interceptors or the specified interceptors,
it can not clear the interceptor which declare on method.
|
| Inject |
Inject is used to inject dependent object
|
| Singleton |
Singleton 用于配置被注入对象是否为单例
|
Copyright © 2022. All rights reserved.