Download presentation
Presentation is loading. Please wait.
Published byPierce O’Brien’ Modified over 8 years ago
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 Model specify model-based manage SM@AT Language SM@AT Generator Model-based Approaches and Techniques automatically generate use as a reference operate
4
Specification and generation System Mgmt API Runtime Model Adapter MOF Reflection Interface System Meta-Model Access Model Specification automatically generates conforms to specified as
5
raw code function scope
8
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:4: 11-2 : 5:5:
9
1 2 3 4 5 6 7 8 9 10 11 12 13 10 10-1 10-2 10-3 11 11-1 11-2 11-3 11-4 11-5 12 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; }
10
server_imgOCL interpreterlist datasource_img core=“…hsql..” eGet(“jdbcDataSource”) refresh listSub(“entityBean”) listSub: [“…hsql”] create(“…user…”) add(datasource) refresh eGet: list get(0) get: datasource eGet(“currentOpened”) getCurrentOpened() eGet: 5 The Adapter
12
Runtime Model Management API Running System synch engine System Meta-Model Access Model Generator generates conforms to
13
Planner Model Observer Model Effector Model Proxy Relationship Database Conflict Handler System Observer System Effector System Proxy
14
In-memory model Model listener Model proxy Planner Mapping pool Exception catcher Mgmt API Running System System proxy 1 2 3 4 3 5
Similar presentations
© 2024 SlidePlayer.com Inc.
All rights reserved.