reuseLogostLogotudLogorewerseLogo modelplexLogo
gearsBG
Reuseware Composition Framework
Components, Modules, Aspects or something new?
Introduce new Composition Techniques into your Language of Choice with Reuseware!

Contents

Composition System Specification Language Reference

Through the Composition System Specification Language the concepts for a Composition System are defined. This is done by defining fragment roles and port types for these roles as well as by defining composition associations between port types. Composition Systems are specified in files with the extension csys.

Examples

Several examples can be found in the Applications section. Here are some direct links to csys files:

CSYS File Structure

Header

The header of a Composition System Specification has the following schema:

 compositionsystem ID
 { 
    fragmentRoleDefinitions + 
    compositionAssociationDefinitions + 
 }

Fragment Role Definitions

A fragment role is defined as follows:

 fragment role roleName
 { portTypeDefinitions + }

A fragment role contains a set of port types. A port type is either static or dynamic.

 static port portName
 dynamic port portName

Composition Association Definitions

A composition association is either contributing or configuring. From this, the kind of composition that is performed for a composition link is determined (see Composition Language).

 contributing association associationName {
    fragmentRoleName.portName --> fragmentRoleName.portName
 }
 configuring association associationName {
    fragmentRoleName.portName --> fragmentRoleName.portName
 }

Retrieved from "http://www.reuseware.org/index.php/Composition_System_Specification_Language"

This page has been accessed 510 times. This page was last modified 17:34, 29 May 2009.