Preload custom controller defined in runtime framework
Created by Jerry Wang on May 20, 2014
通過(guò)定義business role assign的runtime framework profile可以指定UI application初始化時(shí)需要preload的custom controller:
選中runtime framework profile DEFAULT_IC, 雙擊Global Custom Controllers to be called:
此處定義了4個(gè)Global custom controller:
通過(guò)Function Profile RUNTIME 將runtime framework profile assign給某個(gè)business role:
選擇assign了runtime framework profile DEFAULT_IC的business role登陸webclient ui后,這四個(gè)custom controller會(huì)立即執(zhí)行其初始化操作:
GET_CUSTOM_CONTROLLER總是先從buffer table里找,如果查詢的custom controller實(shí)例已經(jīng)存在,則直接返回該實(shí)例; 否則執(zhí)行custom controller的構(gòu)造函數(shù)來(lái)初始化實(shí)例:
總結(jié)
以上是生活随笔為你收集整理的Preload custom controller defined in runtime framework的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: 微软发布 Win11 KB5025239
- 下一篇: search by Belonging