|
ABSTRACT
We present an extension for a Java like language with a mechanism for dynamically extending object behaviors. Our approach consists in moving the addition of new features from class (static) level to object (dynamic) level: the basic features of entities (representing their structure) are separated from the additional ones (wrapper classes whose instances represent run-time added behaviors). At run-time, these entities can be dynamically composed by instantiating wrapper objects which are attached to basic entities. We formalize our extension by adding the new constructs to Featherweight Java; the core language so extended (Featherweight Wrap Java) is type safe.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
1
|
C. Anderson, F. Barbanera, and M. Dezani-Ciancaglini. Alias and Union Types for Delegation. Annals of Mathematics, Computing & Teleinformatics, 1(1):1--18, 2003.
|
| |
2
|
C. Anderson and S. Drossopoulou. Δ - an imperative object based calculus. Workshop USE, Malaga, 2002.
|
| |
3
|
L. Bettini, V. Bono, and S. Likavec. Safe and Flexible Objects with Subtyping. Journal of Object Technology, 10(4):5--29, December 2005. Special Issue: OOPS Track at SAC 2005.
|
| |
4
|
L. Bettini, S. Capecchi, and E. Giachino. Featherweight Wrap Java (extended version with appendix). Technical report, Dip. di Sistemi e Informatica, Univ. di Firenze, October 2006.
|
| |
5
|
L. Bettini. S. Capecchi, and B. Venneri. Extending Java to dynamic object behaviors. In Proc. of Int. Workshop on Object-Oriented Developments (WOOD), volume 82 of ENTCS. Elsevier, 2003.
|
| |
6
|
|
 |
7
|
|
| |
8
|
|
| |
9
|
|
| |
10
|
F. Damiani, E. Giachino, P. Giannini, N. Cameron, and S. Drossopoulou. A State Abstraction for Coordination in Java-like Languages. In Electronic proceedings of FTfJP'06 (http://www.cs.ru.nl/ftfjp), 2006.
|
 |
11
|
|
| |
12
|
E. Ernst, gbeta - a Language with Virtual Attributes, Block Structure, and Propagating, Dynamic Inheritance. PhD thesis, Department of Computer Science, University of Aarhus, Århus, Denmark, 1999.
|
| |
13
|
|
| |
14
|
|
| |
15
|
G. Ghelli and D. Palmerini. Foundations for extensible objects with roles, extended abstract. In FOOL, 1999.
|
| |
16
|
|
 |
17
|
David S. Goldberg , Robert Bruce Findler , Matthew Flatt, Super and inner: together at last!, Proceedings of the 19th annual ACM SIGPLAN conference on Object-oriented programming, systems, languages, and applications, October 24-28, 2004, Vancouver, BC, Canada
|
 |
18
|
|
| |
19
|
G. Kiczales, J. Lamping, A. Menhdhekar, C. Maeda, C. Lopes, J.-M. Loingtier, and J. Irwin. Aspect-oriented programming. In M. Aksit and S. Matsuoka, editors, ECOOP '97, volume 1241 of LNCS, pages 220--242. Springer, 1997.
|
| |
20
|
G. Kniesel. Darwin - A Unified Model of Sharing for Object-Oriented Programmning. PhD thesis, University of Bonn, 1999.
|
 |
21
|
|
| |
22
|
O. L. Madsen, B. Moller-Pedersen, and K. Nygaard. Object-Oriented Programming in the BETA Language. Addison-Wesley, 1993.
|
| |
23
|
M. Mezini. Variational Object-Oriented Programming Beyond Classes and Inheritance. Springer, 1998.
|
| |
24
|
|
 |
25
|
Klaus Ostermann , Mira Mezini, Object-oriented composition untangled, Proceedings of the 16th ACM SIGPLAN conference on Object oriented programming, systems, languages, and applications, p.283-299, October 14-18, 2001, Tampa Bay, FL, USA
|
 |
26
|
|
| |
27
|
|
CITED BY 3
|
|
|
|
|
Norbert Siegmund , Mario Pukall , Michael Soffner , Veit Köppen , Gunter Saake, Using software product lines for runtime interoperability, Proceedings of the Workshop on AOP and Meta-Data for Software Evolution, p.1-7, July 07-07, 2009, Genova, Italy
|
|
|
|
|