Josh: an open AspectJ-like language

Josh: an open AspectJ-like language
复制标题

Josh:一种开放的类似 AspectJ 的语言

DOI:
--
复制
发表时间:
2004
期刊:
Aspect-Oriented Software Development
影响因子:
--
通讯作者:
K. Nakagawa
K. Nakagawa
中科院分区:
--
文献类型:
--
作者:
S. Chiba;K. Nakagawa

文献摘要

被引文献

相似文献

虽然面向方面编程(AOP)正在得到广泛的应用,但切入点语言的设计以及建议的通用和可重用描述仍然是研究的主题。为了解决这些主题,本文介绍了Josh,这是我们新的类似AspectJ的语言,具有可扩展的切入点语言和一些通用描述机制。可扩展切入点语言基于开放编译器的思想。由于Josh允许在Java中定义一个新的切入点指示符,因此用户可以定义一个在特定应用程序域中有用的切入点指示符。此外,Josh允许任何Java表达式都包含在建议的主体中。这种机制支持对通知的通用和可重用描述。
Although aspect-oriented programming (AOP) is becoming widely used, the design of the pointcut language and the generic and reusable description of advice are still research topics. To address these topics, this paper presents Josh, which is our new AspectJ-like language with an extensible pointcut language and a few mechanisms for generic description. The extensible pointcut language is based on the idea of open compiler. Since Josh allows defining a new pointcut designator in Java, the users can define a pointcut designator useful in a particular application domain. Also, Josh allows any Java expression to be included in the body of advice. This mechanism enables the generic and reusable description of advice.