首页> 外国专利> Remote aspect advising for an aspect-oriented program

Remote aspect advising for an aspect-oriented program

机译:为面向方面的程序提供远程方面建议

摘要

An aspect-oriented system includes a way to access both local and remote advice that is consistent with the modularity concerns of an aspect-oriented program. During compilation of the aspect-oriented program, a weaver determines whether advice referenced by an aspect is local or remote. If the advice is local, the weaver applies the local advice to the base program. If the advice is remote, the weaver generates remote invocation code that may include client stubs and server code to handle the marshalling and unmarshalling of parameters. Invocations to the client stub are then inserted into the join points of the base program. At run-time, the server name and number that has the remote aspect is determined. When the client stub is invoked, the remote advice on the specified server may be accessed. The result is an improved weaver that may generate code to access remote advice in a different JVM.
机译:面向方面的系统包括一种访问本地和远程建议的方式,该方式与面向方面的程序的模块化关注点保持一致。在面向方面的程序的编译过程中,编织人员确定某个方面引用的建议是本地的还是远程的。如果建议是本地建议,则编织者将本地建议应用于基本程序。如果建议是远程的,则编织程序会生成远程调用代码,其中可能包含客户端存根和服务器代码,以处理参数的编组和解组。然后,将对客户端存根的调用插入到基础程序的连接点中。在运行时,确定具有远程方面的服务器名称和编号。调用客户端存根时,可以访问指定服务器上的远程建议。结果是改进了编织器,可以生成代码以访问不同JVM中的远程建议。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号