Package com.sap.cds.services.runtime
Interface CdsRuntimeConfiguration
public interface CdsRuntimeConfiguration
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidenvironment(CdsRuntimeConfigurer configurer) Creates and registers one or multiple environment provider instances, using the givenCdsRuntimeConfigurerdefault voideventHandlers(CdsRuntimeConfigurer configurer) Creates and registers one or multiple event handler instances, using the givenCdsRuntimeConfigurerdefault intorder()The order can be used to execute configurations in a specified order.default voidproviders(CdsRuntimeConfigurer configurer) Creates and registers one or multiple provider instances, using the givenCdsRuntimeConfigurerdefault voidservices(CdsRuntimeConfigurer configurer) Creates and registers one or multipleServiceinstances, 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_VALUEorInteger.MAX_VALUEto 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 multipleServiceinstances, 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
-