Skip to main content

A Pattern Story for Combining Crosscutting Concern State Machines

  • Chapter
Transactions on Pattern Languages of Programming I

Part of the book series: Lecture Notes in Computer Science ((TPLOP,volume 5770))

  • 482 Accesses

Abstract

This paper describes a solution to a real world problem using a combination of well-known patterns. The problem deals with combining state machines that represent core concerns and crosscutting concerns in a loosely coupled manner. The state based behaviors are modeled with state machines and implemented with the State Pattern[3]. The coordination between the loosely coupled state machines is achieved with the Interceptor Pattern[9][11]. The Abstract Factory Pattern[3] is used to shield the original state machine developers from being aware that their state machines are being combined in new and different ways.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 16.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Aldawud, O., Elrad, T., Bader, A.: Aspect-oriented Modeling- Bridging the Gap Between Design and Implementation. In: Proceedings of the First ACM SIGPLAN/SIGSOFT International Conference on Generative Programming and Component Engineering (GPCE), Pittsburgh, PA, October 6–8, 2002, pp. 189–202 (2002)

    Google Scholar 

  2. AOSD web site, http://aosd.net

  3. Gamma, H., Johnson, V.: Design Patterns, Elements of Reusable Software Design. Addison-Wesley, Reading (1995)

    Google Scholar 

  4. Filman, R.E., Friedman, D.P.: Aspect-Oriented Programming is Quantification and Obliviousness. In: Workshop on Advanced Separation of Concerns, OOPSLA 2000, Minneapolis (October 2000)

    Google Scholar 

  5. France, R., Kim, D., Ghosh, S., Song, E.: A UML-Based Pattern Specification Technique. IEEE Transactions on Software Engineering 30, 193–2006 (2004)

    Article  Google Scholar 

  6. Kiczales, G., et al.: Aspect-Oriented Programming. In: Aksit, M., Matsuoka, S. (eds.) ECOOP 1997. LNCS, vol. 1241, pp. 220–242. Springer, Heidelberg (1997)

    Chapter  Google Scholar 

  7. Mahoney, M., Elrad, T.: A Pattern Based Approach to Aspect-Orientation for State Based Systems. In: Workshop on Best Practices in Applying Aspect-Oriented Software Development (BPAOSD 2007) at the Sixth International Conference on Aspect-Oriented Software Development (AOSD 2007), Vancouver, BC (March 2007)

    Google Scholar 

  8. Mahoney, M., Bader, A., Elrad, T., Aldawud, O.: Using Aspects to Abstract and Modularize Statecharts. In: The 5th Aspect-Oriented Modeling Workshop in Conjunction with UML 2004, Lisbon, Portugal (October 2004)

    Google Scholar 

  9. Bosak, R.: Daily Development Blog (April 2007), http://dailydevelopment.blogspot.com/2007/04/interceptor-design-pattern.html

  10. Prehofer, C.: Plug-and-Play Composition of Features and Feature Interactions with Statechart Diagrams. In: International Workshop on Feature Interaction in Telecommunications and Software Systems, Ottawa, Canada, June 2003. IOS Press, Amsterdam (2003)

    Google Scholar 

  11. Schmidt, D.C., Stal, M., Rohnert, H., Buschmann, F.: Pattern-Oriented Software Architecture - Patterns for Concurrent and Networked Objects, vol. 2. Wiley and Sons Ltd., Chichester (2000)

    Google Scholar 

  12. Volter, M.: Patterns for Handling Cross-Cutting Concerns in Model-Driven Software Development. In: 10th European Conference on Pattern Languages of Programs (EuroPlop 2005), Irsee, Germany (July 2005)

    Google Scholar 

  13. Telelogic Tau, http://telelogic.com

  14. ILogix Rhapsody, http://telelogic.com

  15. Core J2EE Patterns - Interceptor Filters, Core J2EE Pattern Catalog, http://java.sun.com/blueprints/corej2eepatterns/Patterns/InterceptingFilter.html

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2009 Springer-Verlag Berlin Heidelberg

About this chapter

Cite this chapter

Mahoney, M., Elrad, T. (2009). A Pattern Story for Combining Crosscutting Concern State Machines. In: Noble, J., Johnson, R. (eds) Transactions on Pattern Languages of Programming I. Lecture Notes in Computer Science, vol 5770. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-10832-7_7

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-10832-7_7

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-10831-0

  • Online ISBN: 978-3-642-10832-7

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics