%0 Conference Proceedings %T Separating Obligations of Subjects and Handlers for More Flexible Event Type Verification %+ University of Central Florida [Orlando] (UCF) %A Sánchez, José %A Leavens, Gary, T. %< avec comité de lecture %( Lecture Notes in Computer Science %B 12th International Conference on Software Composition (SC) %C Budapest, Hungary %Y Walter Binder %Y Eric Bodden %Y Welf Löwe %I Springer %3 Software Composition %V LNCS-8088 %P 65-80 %8 2013-06-19 %D 2013 %R 10.1007/978-3-642-39614-4_5 %K Event type %K specification %K verification %K Ptolemy language %Z Computer Science [cs]Conference papers %X Implicit invocation languages, like aspect-oriented languages, automate the Observer pattern, which decouples subjects (base code) from handlers (advice), and then compound them together in the final system. For such languages, event types have been proposed as a way of further decoupling subjects from handlers. In Ptolemy, subjects explicitly announce events at certain program points, and pass the announced piece of code to the handlers for its eventual execution. This implies a mutual dependency between subjects and handlers that should be considered in verification; i.e., verification of subject code should consider the handlers and vice versa.However, in Ptolemy the event type defines only one obligation that both the handlers and the announced piece of code must satisfy. This limits the flexibility and completeness of verification in Ptolemy. That is, some correct programs cannot be verified due to specification mismatches between the announced code and the handlers’ code. For example, when the announced code does not satisfy the specification of the entire event and handlers must make up the difference, or when the announced code has no effect, imposing a monotonic behavior on the handlers.In this paper we propose an extension to the specification features of Ptolemy that explicitly separates the specification of the handlers from the specification of the announced code. This makes verification in our new language PtolemyRely more flexible and more complete, while preserving modularity. %G English %Z TC 2 %Z WG 2.4 %2 https://inria.hal.science/hal-01492777/document %2 https://inria.hal.science/hal-01492777/file/978-3-642-39614-4_5_Chapter.pdf %L hal-01492777 %U https://inria.hal.science/hal-01492777 %~ IFIP-LNCS %~ IFIP %~ IFIP-TC %~ IFIP-TC2 %~ IFIP-LNCS-8088 %~ IFIP-SC %~ IFIP-WG2-4