Class CompositeService

java.lang.Object
com.sap.cds.services.impl.composite.CompositeService
All Implemented Interfaces:
Service
Direct Known Subclasses:
MessagingCompositeService

public class CompositeService extends Object implements Service
The composite service is responsible for dispatching events to configured services. The configuration is also used for delegating the handler registration to the configured services. Example: name: my_composite routes: - service: my_service events: - 'CREATE' - 'READ' As shown in the configuration example above, the events 'CREATE' and 'READ' are dispatched to 'my_service' when they are emitted on 'my_composite'. Also if a handler registration for these events is created on 'my_composite' the registration is delegated to 'my_service'.