Beyond generic component parameters
2002 (English)In: Component deployment: IFIP/ACM Working Conference, CD 2002, Berlin, Germany, June 20-21, 2002 : proceedings / [ed] Judith Bishop, Springer Berlin/Heidelberg, 2002, Vol. 2370, 153-168 p.Chapter in book (Refereed)
For flexible use in application contexts, software components should be parameterized, but also extended appropriately. Until now, there is no language mechanism to solve both problems uniformly. This paper presents a new concept, component hooks. Hooks are similar to generic component parameters but go some steps beyond. Firstly, they allow genericity on arbitrary program elements, leading to generic program elements. Secondly, they introduce an abstraction layer on generic parameters, allowing for structured generic parameters that bind several program elements together. Thirdly, if they are abstract set or sequence values, they can also be used to extend components. Lastly, since they only rely on a meta model they are a language independent concept which can be applied to all languages. Hooks form a basic parameterization concept for components written in languages with a meta model. For such languages, hooks generalize many well known generic language mechanisms, such as macros, semantic macros, generic type parameters, or nested generics. They also provide a basic concept to realize simple forms of aspect weavers and other advanced software engineering concepts.
Place, publisher, year, edition, pages
Springer Berlin/Heidelberg, 2002. Vol. 2370, 153-168 p.
Lecture Notes in Computer Science, ISSN 0302-9743 (print), 1611-3349 (online) ; 2370
Engineering and Technology
IdentifiersURN: urn:nbn:se:liu:diva-48338DOI: 10.1007/3-540-45440-3_10ISBN: 3-540-43847-5ISBN: 978-3-5404-3847-2OAI: oai:DiVA.org:liu-48338DiVA: diva2:269234