Abstract
Most aspect-oriented languages provide only a fixed, built-in set of pointcut designators whose denotation is only described informally. As a consequence, these languages do not provide operations to manipulate or reason about pointcuts beyond weaving. In this paper, we investigate the usage of the functional query language XQuery for the specification of pointcuts. Due to its abstraction and module facilities, XQuery enables powerful composition and reusability mechanisms for pointcuts.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
Bockisch, C., Eichberg, M.: BAT (2004), http://www.st.informatik.tu-darmstadt.de/bat
Chiba, S., Nakagawa, K.: Josh: An Open AspectJ-like Language. In: Proceedings of AOSD 2004, Lancaster, England. ACM Press, New York (2004)
Chiba, S., Nishizawa, M.: An Easy-to-Use Toolkit for Efficient Java Bytecode Translators. In: Pfenning, F., Smaragdakis, Y. (eds.) GPCE 2003. LNCS, vol. 2830, pp. 364–376. Springer, Heidelberg (2003)
Eichberg, M., Mezini, M., Ostermann, K., Schäfer, T.: XIRC: A kernel for cross-artifact information engineering in software development environments. In: Proceedings of 11th IEEE Working Conference on Reverse Engineering (to appear, 2004)
Gamma, E., Helm, R., Johnson, R., Vlissides, J.: Design Patterns: Elements of Reusable Object-Oriented Software. Professional Computing Series. Addison Wesley, Reading (1995)
Gybels, K., Brichau, J.: Arranging Language Features for More Robust Pattern–Based Crosscuts. In: Proceedings of AOSD 2003, Boston, Massachusetts, pp. 60–69. ACM Press, New York (2003)
Hilsdale, E., Hugunin, J.: Advice Weaving in AspectJ. In: Proc. of AOSD 2004. ACM Press, New York (2004)
IBM Watson Research Center. Concern manipulation environment (CME): A flexible, extensible, interoperable environment for AOSD, http://www.eclipse.org/cme/
Janzen, D., De Volder, K.: Navigating and querying code without getting lost. In: Proceedings of the 2nd international conference on Aspect-oriented software development, pp. 178–187. ACM Press, New York (2003)
Kiczales, G.: Keynote talk at AOSD (2003), http://www.cs.ubc.ca/~gregor/
Kiczales, G., Hilsdale, E., Hugunin, J., Kersten, M., Palm, J., Griswold, W.G.: An Overview of AspectJ. In: Knudsen, J.L. (ed.) ECOOP 2001. LNCS, vol. 2072, pp. 327–355. Springer, Heidelberg (2001)
Lieberherr, K., Orleans, D., Ovlinger, J.: Aspect-Oriented Programming with Adaptive Methods. Communications of the ACM 44(10), 39–41 (2001)
Lieberherr, K.J.: Adaptive Object-Oriented Software: The Demeter Method with Propagation Patterns. PWS Publishing Company, Boston (1996)
Mashuhara, H., Kiczales, G., Dutchyn, C.: Compilation semantics of aspect-oriented programs. In: Foundations of Aspect-Oriented Languages Workshop at AOSD 2002 (2002)
Masuhara, H., Kawauchi, K.: Dataflow Pointcut in Aspect-Oriented Programming. In: Ohori, A. (ed.) APLAS 2003. LNCS, vol. 2895, pp. 105–121. Springer, Heidelberg (2003)
Orleans, D., Lieberherr, K.: DJ: Dynamic adaptive programming in Java. In: Yonezawa, A., Matsuoka, S. (eds.) Reflection 2001. LNCS, vol. 2192, p. 8. Springer, Heidelberg (2001)
Ossher, H., Tarr, P.: Hyper/J: Multi-dimensional separation of concerns for Java. In: Proc. of ICSE 2000. ACM Press, New York (2000)
World Wide Web Consortium. XQuery 1.0: An XML query language, W3C working draft, June 7 (2001), http://www.w3.org/tr/xquery/
World Wide Web Consortium. XQuery 1.0 formal semantics (2001), http://www.w3.org/tr/query-semantics
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2004 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Eichberg, M., Mezini, M., Ostermann, K. (2004). Pointcuts as Functional Queries. In: Chin, WN. (eds) Programming Languages and Systems. APLAS 2004. Lecture Notes in Computer Science, vol 3302. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-30477-7_25
Download citation
DOI: https://doi.org/10.1007/978-3-540-30477-7_25
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-23724-2
Online ISBN: 978-3-540-30477-7
eBook Packages: Springer Book Archive