Volume 6 Number 11 (Nov. 2011)
Home > Archive > 2011 > Volume 6 Number 11 (Nov. 2011) >
JSW 2011 Vol.6(11): 2255-2262 ISSN: 1796-217X
doi: 10.4304/jsw.6.11.2255-2262

Automatic Detection to the Behavioral Conflict in AOP Application Based on Design by Contract

Chengwan He1, 2, Zheng Li2

1Hubei Province Key Laboratory of Intelligent Robot, Wuhan Institute of Technology
2School of Computer Science and Engineering, Wuhan Institute of Technology, Wuhan, China

Abstract—Behavioral conflict is one of the key issues in the practical application of AOP (Aspect-Oriented Programming) technology. Based on the ideas of design by contract and behavioral subtyping, we propose an approach that detects the behavioral conflict automatically at runtime. Use Java annotation to describe the contracts of the base program and aspect code, then extract these contracts through the contract transformation program, and convert them to the assertion verification program, consequently it achieves automatic detection to the behavioral conflict at runtime.

Index Terms—AOP (Aspect-Oriented Programming), behavioral conflict, design by contract, behavioral subtyping, assertion verification


Cite: Chengwan He, Zheng Li, "Automatic Detection to the Behavioral Conflict in AOP Application Based on Design by Contract," Journal of Software vol. 6, no. 11, pp. 2255-2262, 2011.

General Information

ISSN: 1796-217X (Online)
Frequency:  Quarterly
Editor-in-Chief: Prof. Antanas Verikas
Executive Editor: Ms. Yoyo Y. Zhou
Abstracting/ Indexing: DBLP, EBSCO, CNKIGoogle Scholar, ProQuest, INSPEC(IET), ULRICH's Periodicals Directory, WorldCat, etc
E-mail: jsweditorialoffice@gmail.com
  • Mar 01, 2024 News!

    Vol 19, No 1 has been published with online version    [Click]

  • Jan 04, 2024 News!

    JSW will adopt Article-by-Article Work Flow

  • Apr 01, 2024 News!

    Vol 14, No 4- Vol 14, No 12 has been indexed by IET-(Inspec)     [Click]

  • Apr 01, 2024 News!

    Papers published in JSW Vol 18, No 1- Vol 18, No 6 have been indexed by DBLP   [Click]

  • Nov 02, 2023 News!

    Vol 18, No 4 has been published with online version   [Click]