天天看点

Action Framework Medium attribute 初始化逻辑

Created by Jerry Wang, last modified on May 05, 2014

在debugger里观察trigger instance里的attribute MEDIUM类型:

Action Framework Medium attribute 初始化逻辑
Action Framework Medium attribute 初始化逻辑

该Medium 初始化逻辑如下:

1. 从table PPFTTRIGG里读取相关记录:

Action Framework Medium attribute 初始化逻辑

2. 通过DB中的记录设置persistent class的attribute:

Action Framework Medium attribute 初始化逻辑

首先根据application class ID拿到class agent reference:

Action Framework Medium attribute 初始化逻辑

然后再通过application oid拿到对应的medium instance:

Action Framework Medium attribute 初始化逻辑

Persistent class的注册逻辑可以在agent class的class_constructor里找到:

Action Framework Medium attribute 初始化逻辑

继续阅读