Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

1

...

) Add a contribution to the SCA domain

The contribution process is about adding Types to the domain (composites, classes, XSD  complexTypes, etc).

1. An SCA application is developed and packaged as a jar or another archive format

...

3. The ContributionProcessor introspects the contribution to create a list of artifacts of interest for SCA. Each artifact is classified by ContentTypes.
4. The artifacts are parsed by the content type.  we provide parsers for SCDL (StAXElementLoader) and we can reuse existing parsers for XSD and WSDL (XmlSchema, wsdl4j, woden). So the WSDL introspector would parse the document using, say, wsdl4j and then store the interesting things that it finds.
5. The interesting definitions are added to the contribution store and that is the end of the contribution operation. We keep the contribution and cache the introspection results.

2

...

) Apply Changes to the Assembly

The assembly is about creating/modifying/ removing instances of things (primarily components).

1. User calls "addToDomainComosite" or "applyChanges" aginst the AssemblyService. There is a changeSet which represents an atomic modification to the domain, for example, adding an "include" to the domain composite.

...