| 程序包 | 说明 |
|---|---|
| cn.samehope.jcart.core.hook |
| 限定符和类型 | 类和说明 |
|---|---|
class |
BaseHook |
| 限定符和类型 | 字段和说明 |
|---|---|
protected Hook |
Hook.next
持有下一个处理请求的对象
|
| 限定符和类型 | 方法和说明 |
|---|---|
static Hook |
HookKit.getHookHandler(String hookType)
获取对应的责任链初始类
|
| 限定符和类型 | 方法和说明 |
|---|---|
static List<Hook> |
HookKit.getHandlerList(String hookType)
获取对应的钩子责任链
|
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
HookKit.add(String hookType,
Hook hookHandler)
添加钩子责任链处理类
|
static void |
HookKit.add(String hookType,
Hook hookHandler,
int orderNo)
添加钩子责任链处理类
|
static void |
HookKit.remove(String hookType,
Hook hookHandler)
移除责任链处理类
|
Copyright © 2018. All rights reserved.