Model-based Approaches and A novel way to develop management tools State Mgmt API Runtime Model...
-
Upload
emerald-hicks -
Category
Documents
-
view
219 -
download
0
Transcript of Model-based Approaches and A novel way to develop management tools State Mgmt API Runtime Model...
![Page 1: Model-based Approaches and A novel way to develop management tools State Mgmt API Runtime Model Adapter MOF Reflection Interface State Meta-Model Access.](https://reader035.fdocuments.us/reader035/viewer/2022062713/56649f465503460f94c687c0/html5/thumbnails/1.jpg)
![Page 2: Model-based Approaches and A novel way to develop management tools State Mgmt API Runtime Model Adapter MOF Reflection Interface State Meta-Model Access.](https://reader035.fdocuments.us/reader035/viewer/2022062713/56649f465503460f94c687c0/html5/thumbnails/2.jpg)
![Page 3: Model-based Approaches and A novel way to develop management tools State Mgmt API Runtime Model Adapter MOF Reflection Interface State Meta-Model Access.](https://reader035.fdocuments.us/reader035/viewer/2022062713/56649f465503460f94c687c0/html5/thumbnails/3.jpg)
Model-based Approaches and
A novel way to develop management tools
State
Mgmt API
Runtime Model
Adapter
MOF Reflection Interface
StateMeta-Model
AccessModel
specify
model-based manage
SM@AT Language
SM@AT Generator
Model-based Approaches and Techniques
automatically generate
use as areference operate
![Page 4: Model-based Approaches and A novel way to develop management tools State Mgmt API Runtime Model Adapter MOF Reflection Interface State Meta-Model Access.](https://reader035.fdocuments.us/reader035/viewer/2022062713/56649f465503460f94c687c0/html5/thumbnails/4.jpg)
Specification and generation
System
Mgmt API
Runtime Model
AdapterMOF Reflection Interface
SystemMeta-Model
AccessModel Specification
automatically generates
conformstospecified
as
![Page 5: Model-based Approaches and A novel way to develop management tools State Mgmt API Runtime Model Adapter MOF Reflection Interface State Meta-Model Access.](https://reader035.fdocuments.us/reader035/viewer/2022062713/56649f465503460f94c687c0/html5/thumbnails/5.jpg)
raw code
function
scope
![Page 6: Model-based Approaches and A novel way to develop management tools State Mgmt API Runtime Model Adapter MOF Reflection Interface State Meta-Model Access.](https://reader035.fdocuments.us/reader035/viewer/2022062713/56649f465503460f94c687c0/html5/thumbnails/6.jpg)
![Page 7: Model-based Approaches and A novel way to develop management tools State Mgmt API Runtime Model Adapter MOF Reflection Interface State Meta-Model Access.](https://reader035.fdocuments.us/reader035/viewer/2022062713/56649f465503460f94c687c0/html5/thumbnails/7.jpg)
![Page 8: Model-based Approaches and A novel way to develop management tools State Mgmt API Runtime Model Adapter MOF Reflection Interface State Meta-Model Access.](https://reader035.fdocuments.us/reader035/viewer/2022062713/56649f465503460f94c687c0/html5/thumbnails/8.jpg)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
11 11-1 11-2 11-3
15 15-1 15-2 15-3
16 16-1 16-2 16-3 16-4 16-5
17 17-1 17-2
4:
11-2:
5:
![Page 9: Model-based Approaches and A novel way to develop management tools State Mgmt API Runtime Model Adapter MOF Reflection Interface State Meta-Model Access.](https://reader035.fdocuments.us/reader035/viewer/2022062713/56649f465503460f94c687c0/html5/thumbnails/9.jpg)
1 2 3 4 5 6 7 8 9 10 11 12 13
10 10-1 10-2 10-311 11-1 11-2 11-3 11-4 11-512 12-1 12-2
4:Management mgmt= $meta::package.getMainEntry();try{10-2: Object res=mgmt.getAttribute( $sys::this, $meta::prpt_name) $sys::result= ((Integer)res).intValue();5:}catch(Exception e){ e.printStackTrace(); $sys::result=null;}
![Page 10: Model-based Approaches and A novel way to develop management tools State Mgmt API Runtime Model Adapter MOF Reflection Interface State Meta-Model Access.](https://reader035.fdocuments.us/reader035/viewer/2022062713/56649f465503460f94c687c0/html5/thumbnails/10.jpg)
server_imgOCL interpreter list
datasource_imgcore=“…hsql..”
eGet(“jdbcDataSource”) refreshlistSub(“entityBean”)
listSub: [“…hsql”]create(“…user…”)
add(datasource)refresheGet: listget(0)
get: datasourceeGet(“currentOpened”)
getCurrentOpened()
eGet: 5
The Adapter
![Page 11: Model-based Approaches and A novel way to develop management tools State Mgmt API Runtime Model Adapter MOF Reflection Interface State Meta-Model Access.](https://reader035.fdocuments.us/reader035/viewer/2022062713/56649f465503460f94c687c0/html5/thumbnails/11.jpg)
![Page 12: Model-based Approaches and A novel way to develop management tools State Mgmt API Runtime Model Adapter MOF Reflection Interface State Meta-Model Access.](https://reader035.fdocuments.us/reader035/viewer/2022062713/56649f465503460f94c687c0/html5/thumbnails/12.jpg)
Runtime Model
Management API
Running System
synchengine
System Meta-Model
Access Model
Generatorgenerates
conforms to
![Page 13: Model-based Approaches and A novel way to develop management tools State Mgmt API Runtime Model Adapter MOF Reflection Interface State Meta-Model Access.](https://reader035.fdocuments.us/reader035/viewer/2022062713/56649f465503460f94c687c0/html5/thumbnails/13.jpg)
Planner
Model Observer
Model Effector
Model Proxy Relationship Database
Conflict Handler
System Observer
System Effector
System Proxy
![Page 14: Model-based Approaches and A novel way to develop management tools State Mgmt API Runtime Model Adapter MOF Reflection Interface State Meta-Model Access.](https://reader035.fdocuments.us/reader035/viewer/2022062713/56649f465503460f94c687c0/html5/thumbnails/14.jpg)
In-m
em
ory
mo
de
l
Mo
de
l li
ste
ne
rM
od
el
pro
xy Planner
Mapping pool
Exception catcher
Mg
mt
AP
I
Ru
nn
ing
S
ys
tem
Sy
ste
m p
rox
y
1
2
3
4
3
5
![Page 15: Model-based Approaches and A novel way to develop management tools State Mgmt API Runtime Model Adapter MOF Reflection Interface State Meta-Model Access.](https://reader035.fdocuments.us/reader035/viewer/2022062713/56649f465503460f94c687c0/html5/thumbnails/15.jpg)
![Page 16: Model-based Approaches and A novel way to develop management tools State Mgmt API Runtime Model Adapter MOF Reflection Interface State Meta-Model Access.](https://reader035.fdocuments.us/reader035/viewer/2022062713/56649f465503460f94c687c0/html5/thumbnails/16.jpg)
context
WifiManager
ActivityManager
WirelessPKU CCMC
Synchronizer
meta-model of runtime data
Specification of API
define
SM@RT
generates
inputs
as reference
conforms to
manipulate runtime data using OCL
RM providerRM consumer
![Page 17: Model-based Approaches and A novel way to develop management tools State Mgmt API Runtime Model Adapter MOF Reflection Interface State Meta-Model Access.](https://reader035.fdocuments.us/reader035/viewer/2022062713/56649f465503460f94c687c0/html5/thumbnails/17.jpg)
(a) (b) (c) (d)