TY - GEN
T1 - Association aspects
AU - Sakurai, Kouhei
AU - Masuhara, Hidehiko
AU - Ubayashi, Naoyasu
AU - Matsuura, Saeko
AU - Komiya, Seiichi
PY - 2004
Y1 - 2004
N2 - We propose a linguistic mechanism for AspectJ-like languages that concisely associates aspect instances to object groups. The mechanism, which supports association aspects, extends the per-object aspects in AspectJ by allowing an aspect instance to be associated to a group of objects, and by providing a new pointcut primitive to specify aspect instances as execution contexts of advice. With association aspects, we can straightforwardly implement crosscutting concerns that have stateful behavior related to a particular group of objects. The new pointcut primitive can more flexibly specify aspect instances when compared against previous implicit mechanisms. The comparison of execution times between the programs with association aspects and the ones with regular AspectJ aspects revealed that the association aspects exhibited almost equivalent for the medium-sized configurations.
AB - We propose a linguistic mechanism for AspectJ-like languages that concisely associates aspect instances to object groups. The mechanism, which supports association aspects, extends the per-object aspects in AspectJ by allowing an aspect instance to be associated to a group of objects, and by providing a new pointcut primitive to specify aspect instances as execution contexts of advice. With association aspects, we can straightforwardly implement crosscutting concerns that have stateful behavior related to a particular group of objects. The new pointcut primitive can more flexibly specify aspect instances when compared against previous implicit mechanisms. The comparison of execution times between the programs with association aspects and the ones with regular AspectJ aspects revealed that the association aspects exhibited almost equivalent for the medium-sized configurations.
UR - http://www.scopus.com/inward/record.url?scp=18844418452&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=18844418452&partnerID=8YFLogxK
U2 - 10.1145/976270.976275
DO - 10.1145/976270.976275
M3 - Conference contribution
AN - SCOPUS:18844418452
SN - 1581138423
SN - 9781581138429
T3 - AOSD 2004: 3rd International Conference on Aspect-Oriented Software Development - Conference Proceedings
SP - 16
EP - 25
BT - AOSD 2004
PB - Association for Computing Machinery
T2 - AOSD 2004: 3rd International Conference on Aspect-Oriented Software Development - Conference Proceedings
Y2 - 22 March 2004 through 26 March 2004
ER -