Simons, A.J.H. orcid.org/0000-0002-5925-7148, Stannett, M.P. orcid.org/0000-0002-2794-8614, Bogdanov, K.E. et al. (1 more author) (2002) Plug and play safely: Rules for behavioural compatibility. In: Hamza, M.H., (ed.) Proceedings of the 6th IASTED International Conference on Software Engineering and Applications, SEA 2002. 6th IASTED International Conference on Software Engineering and Applications (SEA 2002), 04-06 Nov 2002, Cambridge, MA, USA. Acta Press , pp. 263-268. ISBN 9780889863231
Abstract
The state of the art in component-based software development depends on the notion of interfaces and interface matching. This only partly solves the problem of safe component usage and substitution, dealing with syntactic compatibility. We present a specification method that describes under what conditions a component is behaviourally compatible with the expectations of an interface.
The method is based on the UML class and statechart diagrams, expressed as a set of rules for statechart refinement. Both refinement (UML realisation) and subtyping (UML specialisation) can be captured, allowing a designer to determine when a component matches the requirements of an interface, or when one component may safely be substituted for another. The rules are behaviourally safe under polymorphism with dynamic binding, up to the abstraction captured by the statecharts, and improve on previously published rules for behavioural compatibility.
Metadata
Item Type: | Proceedings Paper |
---|---|
Authors/Creators: |
|
Editors: |
|
Copyright, Publisher and Additional Information: | © 2002 |
Keywords: | Components; behavioural compatibility; statecharts; subtyping; refinement |
Dates: |
|
Institution: | The University of Sheffield |
Academic Units: | The University of Sheffield > Faculty of Engineering (Sheffield) > Department of Computer Science (Sheffield) |
Depositing User: | Symplectic Sheffield |
Date Deposited: | 23 Jun 2023 15:47 |
Last Modified: | 23 Jun 2023 15:47 |
Status: | Published |
Publisher: | Acta Press |
Refereed: | Yes |
Related URLs: | |
Open Archives Initiative ID (OAI ID): | oai:eprints.whiterose.ac.uk:200734 |