Spring Framwork Core Technologies v5.3.36 SNAPSHOT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 275 4. Spring Expression Language (SpEL) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 282 4.1.3. SpEL Compilation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ).apply { addConverter(MyCustomConverter()) } } } When @Value contains a SpEL expression the value will be dynamically computed at runtime as the following example shows: 1170 码力 | 485 页 | 6.31 MB | 1 年前3
Spring Framework Reference Documentation 4.3.26.RELEASE............................................................. 195 10. Spring Expression Language (SpEL) ......................................................................... 196 10.1. Introduction configuration ........................................................................................ 199 SpEL compilation ..................................................................................... .......................................................................... 792 Available caching SpEL evaluation context ............................................... 793 @CachePut annotation .....0 码力 | 916 页 | 5.52 MB | 1 年前3
Spring Framework Reference Documentation v4.3.2............................................................. 187 10. Spring Expression Language (SpEL) ......................................................................... 188 10.1. Introduction configuration ........................................................................................ 192 SpEL compilation ..................................................................................... .......................................................................... 783 Available caching SpEL evaluation context ............................................... 784 @CachePut annotation .....0 码力 | 907 页 | 5.46 MB | 1 年前3
Spring Framwork Integration v5.3.36 SNAPSHOT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114 Available Caching SpEL Evaluation Context . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . @Cacheable annotation lets you specify how the key is generated through its key attribute. You can use SpEL to pick the arguments of interest (or their nested properties), perform operations, or even invoke methods, it rarely works for all methods. The following examples use various SpEL declarations (if you are not familiar with SpEL, do yourself a favor and read Spring Expression Language): @Cacheable(cacheNames="books"0 码力 | 141 页 | 2.13 MB | 1 年前3
Spring Framwork Testing v5.3.36 SNAPSHOTenabled by default as well. Expressions can be any of the following: • Spring Expression Language (SpEL) expression. For example: @EnabledIf("#{systemProperties['os.name'].toLowerCase().contains('mac')}") automatically disabled as well. Expressions can be any of the following: • Spring Expression Language (SpEL) expression. For example: @DisabledIf("#{systemProperties['os.name'].toLowerCase().contains('mac')}") a dependency on a request-scoped loginAction bean. Also, the LoginAction is instantiated by using SpEL expressions that retrieve the username and password from the current HTTP request. In our test, we0 码力 | 193 页 | 2.53 MB | 1 年前3
Spring Boot 1.0.3.BUILD-SNAPSHOT Reference Documentation Application Conditions ............................................................................... 65 SpEL expression conditions ........................................................................... has a StandardServletEnvironment. SpEL expression conditions The @ConditionalOnExpression annotation allows configuration to be skipped based on the result of a SpEL expression. Spring Boot Reference separated). • Look for @ConditionalOnExpression annotations that switch features on and off in response to SpEL expressions, normally evaluated with place-holders resolved from the Environment. 54.2 Customize0 码力 | 158 页 | 847.06 KB | 1 年前3
Spring Boot 1.1.7.RELEASE Reference GuideApplication Conditions ............................................................................... 77 SpEL expression conditions ........................................................................... has a StandardServletEnvironment. SpEL expression conditions The @ConditionalOnExpression annotation allows configuration to be skipped based on the result of a SpEL expression. Spring Boot Reference separated). • Look for @ConditionalOnExpression annotations that switch features on and off in response to SpEL expressions, normally evaluated with place-holders resolved from the Environment. 57.2 Customize0 码力 | 192 页 | 1017.81 KB | 1 年前3
Spring Boot 0.0.9.M1 Reference GuideApplication Conditions ............................................................................... 75 SpEL expression conditions ........................................................................... has a StandardServletEnvironment. SpEL expression conditions The @ConditionalOnExpression annotation allows configuration to be skipped based on the result of a SpEL expression. Spring Boot Reference separated). • Look for @ConditionalOnExpression annotations that switch features on and off in response to SpEL expressions, normally evaluated with place-holders resolved from the Environment. 57.2 Customize0 码力 | 188 页 | 1007.46 KB | 1 年前3
Spring Boot 0.0.x Reference GuideApplication Conditions ............................................................................... 75 SpEL expression conditions ........................................................................... has a StandardServletEnvironment. SpEL expression conditions The @ConditionalOnExpression annotation allows configuration to be skipped based on the result of a SpEL expression. Spring Boot Reference separated). • Look for @ConditionalOnExpression annotations that switch features on and off in response to SpEL expressions, normally evaluated with place-holders resolved from the Environment. 57.2 Customize0 码力 | 188 页 | 1008.51 KB | 1 年前3
Spring Boot 1.1.6.RELEASE Reference GuideApplication Conditions ............................................................................... 76 SpEL expression conditions ........................................................................... has a StandardServletEnvironment. SpEL expression conditions The @ConditionalOnExpression annotation allows configuration to be skipped based on the result of a SpEL expression. Spring Boot Reference separated). • Look for @ConditionalOnExpression annotations that switch features on and off in response to SpEL expressions, normally evaluated with place-holders resolved from the Environment. 57.2 Customize0 码力 | 189 页 | 1007.00 KB | 1 年前3
共 155 条
- 1
- 2
- 3
- 4
- 5
- 6
- 16













