天天看點

Shell openSomething - how is application component loaded in the runtime

Created by Jerry Wang, last modified on Aug 09, 2015

shell

openSomething

getServiceConfig

parseShellHash

Hash

exec

initiateApplication

AppConfiguration.getMetadata

成功讀取LPD_CUST裡維護的additional資訊:

Shell openSomething - how is application component loaded in the runtime

拿到Service的config資訊:

Shell openSomething - how is application component loaded in the runtime

hash就是semantic object + action:

Shell openSomething - how is application component loaded in the runtime

使用正規表達式解析semantic object:

Shell openSomething - how is application component loaded in the runtime

在LPD_CUST裡配置的application type為URL:

Shell openSomething - how is application component loaded in the runtime

執行initialization操作:

Shell openSomething - how is application component loaded in the runtime

在這裡load component.js:

Shell openSomething - how is application component loaded in the runtime

runtime callstack:

Shell openSomething - how is application component loaded in the runtime