天天看点

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