
Contents |
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.
Several examples can be found in the Applications section. Here are some direct links to csys files:
The header of a Composition System Specification has the following schema:
compositionsystem ID
{
fragmentRoleDefinitions +
compositionAssociationDefinitions +
}
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
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
}