Context Objects |
(Green circles) |
Client send |
addNewModule("M") |
method request |
1 |
8 |
3 |
4 |
6 |
7 |
5 |
2 |
New User module |
Mobj with name "M" |
Forward call |
to context object |
Object Factory |
Instantiate module |
with name `M" |
Return module |
Object: Mobj |
Return |
Mobj |
Create Proxy object |
for Mobj |
Context:uc_1 |
Proxy for |
context:uc_1 |
Add Mobj |
into "uc_1" children |
Context inserts new module |
Mobj into its children list |
Context:uc_0 |
Proxy for |
context:uc_0 |
Adding new user module |
to user Context of "UC_1" |