Package com.sap.cds.services.impl
Interface ServiceSPI
- All Superinterfaces:
Service
- All Known Implementing Classes:
ServiceImpl
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceAn entity describing a handler registration for this service. -
Method Summary
Modifier and TypeMethodDescriptionReturns theCdsRuntimethisServicebelongs to.registrations(Phase phase) voidsetCdsRuntime(CdsRuntime runtime) Makes theCdsRuntimeknown to theServicevoidsetDelegator(Service delegator) Makes the delegator (e.g a typed proxy instance) known to theServicevoidsetOutbox(OutboxService outboxService) Sets the outbox that shall be called for the next emit.
-
Method Details
-
setCdsRuntime
Makes theCdsRuntimeknown to theService- Parameters:
runtime- theCdsRuntime
-
getCdsRuntime
CdsRuntime getCdsRuntime()Returns theCdsRuntimethisServicebelongs to.- Returns:
- The
CdsRuntimeinstance.
-
setDelegator
Makes the delegator (e.g a typed proxy instance) known to theService- Parameters:
delegator- the delegatorService
-
setOutbox
Sets the outbox that shall be called for the next emit.- Parameters:
outboxService- the outbox service
-
registrations
- Parameters:
phase- The phase the registrations refer to- Returns:
- The stream
-