检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:卢楠[1]
机构地区:[1]河北医科大学第三医院,河北石家庄050081
出 处:《计算机与网络》2014年第12期50-52,共3页Computer & Network
摘 要:Java动态代理机制的出现,使得Java开发人员不用手工编写代理类,只要简单地指定一组接口及委托类对象,便能动态地获得代理类。代理类会负责将所有的方法调用分派到委托对象上反射执行,在分派执行的过程中,开发人员还可以按需调整委托类对象及其功能,这是一套非常灵活有弹性的代理框架。针对此框架的优点,把它引入到考试系统的应用中,使得系统的维护和扩展增强,而且减少了编程工作量。The emergence of Java dynamic proxy mechanism makes the Java developers dynamically obtain the proxy class by specifying a set of interface and delegate class object without manually writing the proxy class. The proxy class will be responsible for assigning all the method to the delegate object for reflection execution. During the assignment, the developers can also adjust the delegate class object and its fimction as needed, which is a very flexible and resilient agent framework. The introduction of this framework into the?examination system can enhance?the maintenance and expansion of system, and reduce the workload ofprogramming.
关 键 词:Java动态代理 委托类对象 反射 代理框架 考试系统
分 类 号:TP312.2[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.40