Community
Participate
Working Groups
Sapphire services infrastructure is specific to element instance and property instance contexts. Extending the infrastructure to use services in other contexts is costly and the cost needs to be repeated for every new context. The services infrastructure should be re-visited to make it more generic. It should be fairly cheap to define a new context for services.
Done. ModelElementService and ModelPropertyService classes have been collapsed into a single Service class. Similarly, the manner in which services are registered in sapphire-extension.xml has been consolidated into a single construct. The new construct has a new required element called context, which identifies the context to which the defined service is applicable to. The new ServiceContext will make it easier to use services in other contexts. See the migration guide under Services for more detail on the changes.
Verified the unified Service infrastructure.