public class ApplicationServiceConfiguration extends Object implements CdsRuntimeConfiguration
| Constructor and Description |
|---|
ApplicationServiceConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
static Stream<CdsProperties.Application.ApplicationServiceConfig> |
applicationServiceConfigs(CdsRuntimeConfigurer configurer,
Predicate<? super com.sap.cds.reflect.CdsService> servicePredicate)
Returns a stream of application service configurations.
|
void |
eventHandlers(CdsRuntimeConfigurer configurer) |
int |
order() |
void |
services(CdsRuntimeConfigurer configurer) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitenvironment, providerspublic int order()
order in interface CdsRuntimeConfigurationpublic static Stream<CdsProperties.Application.ApplicationServiceConfig> applicationServiceConfigs(CdsRuntimeConfigurer configurer, Predicate<? super com.sap.cds.reflect.CdsService> servicePredicate)
servicePredicate,
If the configuration for an application service is explicitly defined, it will be returned by this method.
If for a given CDS model service no explicit application service configuration can be obtained, a default service is created.
This default service is not created, if a RemoteService for this CDS model service exists already.
Overall only those configurations are returned, for which no other service already exists with the same name.configurer - the CdsRuntimeConfigurerservicePredicate - the predicate to filter relevant CDS model servicespublic void services(CdsRuntimeConfigurer configurer)
services in interface CdsRuntimeConfigurationpublic void eventHandlers(CdsRuntimeConfigurer configurer)
eventHandlers in interface CdsRuntimeConfigurationCopyright © 2021. All rights reserved.