Package com.sap.cds.services.runtime
Interface CdsRuntimeConfiguration
public interface CdsRuntimeConfiguration
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
environment
(CdsRuntimeConfigurer configurer) Creates and registers one or multiple environment provider instances, using the givenCdsRuntimeConfigurer
default void
eventHandlers
(CdsRuntimeConfigurer configurer) Creates and registers one or multiple event handler instances, using the givenCdsRuntimeConfigurer
default int
order()
The order can be used to execute configurations in a specified order.default void
providers
(CdsRuntimeConfigurer configurer) Creates and registers one or multiple provider instances, using the givenCdsRuntimeConfigurer
default void
services
(CdsRuntimeConfigurer configurer) Creates and registers one or multipleService
instances, using the givenCdsRuntimeConfigurer
-
Method Details
-
order
default int order()The order can be used to execute configurations in a specified order. The default order is 0. Configurations with a lower order are executed before configurations with a higher order. When registering custom configurations it is recommended to either use order values around eitherInteger.MIN_VALUE
orInteger.MAX_VALUE
to execute configurations either before or after the built-in configurations.- Returns:
- the order value
-
environment
Creates and registers one or multiple environment provider instances, using the givenCdsRuntimeConfigurer
- Parameters:
configurer
- theCdsRuntimeConfigurer
-
services
Creates and registers one or multipleService
instances, using the givenCdsRuntimeConfigurer
- Parameters:
configurer
- theCdsRuntimeConfigurer
-
eventHandlers
Creates and registers one or multiple event handler instances, using the givenCdsRuntimeConfigurer
- Parameters:
configurer
- theCdsRuntimeConfigurer
-
providers
Creates and registers one or multiple provider instances, using the givenCdsRuntimeConfigurer
- Parameters:
configurer
- theCdsRuntimeConfigurer
-