一种动态角色模型及其实现机制

一种动态角色模型及其实现机制

ID:34596784

大小:758.88 KB

页数:16页

时间:2019-03-08

一种动态角色模型及其实现机制_第1页
一种动态角色模型及其实现机制_第2页
一种动态角色模型及其实现机制_第3页
一种动态角色模型及其实现机制_第4页
一种动态角色模型及其实现机制_第5页
资源描述:

《一种动态角色模型及其实现机制》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库

1、ISSN1000-9825,CODENRUXUEWE-mail:jos@iscas.ac.cnJournalofSoftwarehttp://www.jos.org.cndoi:10.3724/SP.J.1001.2010.03846Tel/Fax:+86-10-62562563©byInstituteofSoftware,theChineseAcademyofSciences.Allrightsreserved.∗一种动态角色模型及其实现机制1,32+1,41唐祖锴,彭智勇,任毅,崔晓军1(武汉大学

2、软件工程国家重点实验室,湖北武汉430072)2(武汉大学计算机学院,湖北武汉430072)3(武汉理工大学计算机科学与技术学院,湖北武汉430063)4(通信指挥学院网络管理中心,湖北武汉430010)DynamicRoleModelanditsImplementation1,32+1,41TANGZu-Kai,PENGZhi-Yong,RENYi,CUIXiao-Jun1(StateKeyLaboratoryofSoftwareEngineering,WuhanUniversity,Wuhan43

3、0072,China)2(ComputerSchool,WuhanUniversity,Wuhan430072,China)3(SchoolofComputerScienceandTechnology,WuhanUniversityofTechnology,Wuhan430063,China)4(NetworkManagementCenter,CommunicationandCommandingAcademy,Wuhan430010,China)+Correspondingauthor:E-mail:

4、peng@whu.edu.cnTangZK,PengZY,RenY,CuiXJ.Dynamicrolemodelanditsimplementation.JournalofSoftware,2010.http://www.jos.org.cn/1000-9825/3846.htmAbstract:Therearelimitationswithmostofthecurrentrolemodels.Forexample,theissuesofrolecreationandattachmenthavetob

5、ehandledexplicitlyinthesourcecode:thenavigationbetweenroleobjectsandsourceobjectsisunidirectional,andmessagescannotbetransferredbi-directionally,etc.Suchlimitationsalwaysresultinthecorebusinessbecomingtangledwiththecontrollogicforroleobjects.Adynamicrol

6、emodel,namedDR,canprovidetheautomaticcreatinganddestroyingmechanismsofroleobjectsandcanalsoprovidethebi-directionalnavigationbetweenroleobjectsandsourceobjects.Thesefunctionalitiesmakeupthecoreoftheuseoftherolemodel,andthecontrollogicforroleobjectsisals

7、otransparenttousers.TheimplementationofDRiscenteredaroundprepositveobjectsanddelegationmechanismsnotonlyresolvesthecomplexhierarchyofrolesproblem,butthedynamicrolemodelalsosolvesthecompatibilityproblemwithtraditionalobject-orientedsystems.Keywords:role;

8、dynamicrolemodel;delegation;prepositveobject;objectdeputymodel摘要:很多角色模型的设计和使用存在着一些限制,例如:角色对象的创建及其与源对象的绑定需要通过编码显式完成;角色对象与源对象之间的单向链接使得消息不能在它们之间互相转发等.这些限制使得角色模型的使用较为繁琐,在程序设计中往往会将系统的业务逻辑和对角色对象的控制逻辑混杂在一起.被称为DR的动态角色模型除了相关工作的基本功能外还提供了角色

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。