skip to main content
10.1145/1141277.1141611acmconferencesArticle/Chapter ViewAbstractPublication PagessacConference Proceedingsconference-collections
Article

Dynamic instantiation-checking components

Published: 23 April 2006 Publication History

Abstract

Parameterization is an effective technique for building flexible, reusable software. When dealing with parameterized components, an important concern is the time at which parameters are bound. Many languages provide syntactic support for parameterized components; this mode of parameterization can be called static parameterization. In order to be able to support dynamic reconfiguration, the Service Facility pattern has been proposed as an enabling technology for dynamic parameterization. However, static parameterization has the advantage of strong type-checking that dynamic parameterization does not. In this paper, we present DynInstaCheck --- a tool that automatically instruments dynamically bound parameterized components with run-time checking code that ensures type-safe parameter binding. The source instrumentation is done in a non-intrusive way, using aspect-oriented programming.

References

[1]
G. Bracha, M. Odersky, D. Stoutamire, and P. Wadler. Making the future safe for the past: Adding genericity to the java programming language. In Proceedings of the conference on Object-oriented programming, systems, languages, and applications, pages 183--200. ACM Press, 1998.
[2]
S. H. Edwards, M. Sitaraman, B. W. Weide, and J. Hollingsworth. Contract-checking wrappers for C++ classes. IEEE Transactions on Software Engineering, 30(11):794--810, November 2004.
[3]
E. Gamma, R. Helm, R. Johnson, and J. Vlissides. Design Patterns: Elements of Reusable Object-Oriented Software. Addison Wesley, 1995.
[4]
J. O. Hallstrom. Design Pattern Contracts. PhD thesis, Computer Science and Engineering, The Ohio State University, 2004.
[5]
J. O. Hallstrom, N. Soundarajan, and B. Tyler. Monitoring design pattern contracts. In Proceedings of the the 3rd FSE Workshop on the Specification and Verification of Component-Based Systems, Newport Beach, CA, 2004.
[6]
A. Kennedy and D. Syme. Design and implementation of generics for the .NET common language runtime. In Proceedings of the ACM SIGPLAN 2001 conference on Programming language design and implementation, pages 1--12. ACM Press, 2001.
[7]
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, Proceedings European Conference on Object-Oriented Programming, volume 1241, pages 220--242, Berlin, Heidelberg, and New York, 1997. Springer-Verlag.
[8]
D. Musser and A. Saini. STL Tutorial and Reference Guide: C++ Programming with the Standard Template Library. Addison-Wesley, 1996.
[9]
N. Sridhar. Dynamically Reconfigurable Parameterized Components. PhD thesis, Computer Science and Engineering, The Ohio State University, 2004.
[10]
N. Sridhar, S. M. Pike, and B. W. Weide. Dynamic module replacement in distributed protocols. In Proceedings of the 23rd International Conference on Distributed Computing Systems, May 2003.
[11]
N. Sridhar, B. W. Weide, and P. Bucci. Service facilities: Extending abstract factories to decouple advanced dependencies. In Proceedings of the 7th International Conference on Software Reuse, pages 309--326, April 2002.
[12]
H. Thimbleby. Delaying commitment. IEEE Software, 5(3):78--86, May/June 1988.

Cited By

View all

Index Terms

  1. Dynamic instantiation-checking components

                        Recommendations

                        Comments

                        Information & Contributors

                        Information

                        Published In

                        cover image ACM Conferences
                        SAC '06: Proceedings of the 2006 ACM symposium on Applied computing
                        April 2006
                        1967 pages
                        ISBN:1595931082
                        DOI:10.1145/1141277
                        Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

                        Sponsors

                        Publisher

                        Association for Computing Machinery

                        New York, NY, United States

                        Publication History

                        Published: 23 April 2006

                        Permissions

                        Request permissions for this article.

                        Check for updates

                        Qualifiers

                        • Article

                        Conference

                        SAC06
                        Sponsor:

                        Acceptance Rates

                        Overall Acceptance Rate 1,650 of 6,669 submissions, 25%

                        Upcoming Conference

                        SAC '25
                        The 40th ACM/SIGAPP Symposium on Applied Computing
                        March 31 - April 4, 2025
                        Catania , Italy

                        Contributors

                        Other Metrics

                        Bibliometrics & Citations

                        Bibliometrics

                        Article Metrics

                        • Downloads (Last 12 months)0
                        • Downloads (Last 6 weeks)0
                        Reflects downloads up to 18 Jan 2025

                        Other Metrics

                        Citations

                        Cited By

                        View all

                        View Options

                        Login options

                        View options

                        PDF

                        View or Download as a PDF file.

                        PDF

                        eReader

                        View online with eReader.

                        eReader

                        Media

                        Figures

                        Other

                        Tables

                        Share

                        Share

                        Share this Publication link

                        Share on social media