DocumentCode :
3532610
Title :
Checking Interface Interaction Protocols Using Aspect-Oriented Programming
Author :
Truong, Anh-Hoang ; Trinh, Thanh-Binh ; Van Hung, Dang ; Nguyen, Viet-Ha ; Trang, N. ; Hung, P.D.
Author_Institution :
Coll. of Technol., Vietnam Nat. Univ., Hanoi
fYear :
2008
fDate :
10-14 Nov. 2008
Firstpage :
382
Lastpage :
386
Abstract :
We propose an approach based on aspect-oriented programming to specify and to verify interaction protocols in the component interfaces of Java programs. First, based on method patterns of AspectJ we introduce a simple protocol specification language that specifies temporal orders of operations of an interface. We then develop an algorithm that takes a protocol specification and produces aspect code that will check for protocol conformance of programs that use the interface at runtime. Finally, we propose several extensions that enable the integration of our approach with static techniques and allow checking protocols over multiple components.
Keywords :
Java; application program interfaces; formal specification; object-oriented programming; program diagnostics; program verification; protocols; specification languages; AspectJ method pattern; Java program component interface; aspect-oriented programming; interaction protocol specification language; interaction protocol verification; interface interaction protocol checking; program protocol conformance; static technique; temporal order specification; Application software; Educational institutions; Java; Natural languages; Programming profession; Protocols; Runtime; Software engineering; Software libraries; Specification languages; AOP; interface protocol; runtime verification;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Engineering and Formal Methods, 2008. SEFM '08. Sixth IEEE International Conference on
Conference_Location :
Cape Town
Print_ISBN :
978-0-7695-3437-4
Type :
conf
DOI :
10.1109/SEFM.2008.32
Filename :
4685826
Link To Document :
بازگشت