About 15,100,000 results
Open links in new tab
  1. Spring Expression Language (SpEL) with @Value: dollar vs. hash

    Mar 16, 2011 · From the Spring docu: "The Spring Expression Language (SpEL for short) is a powerful expression language that supports querying and manipulating an object graph at …

  2. Invoke method using spring SPEL with property - Stack Overflow

    Feb 23, 2021 · Invoke method using spring SPEL with property Asked 4 years, 10 months ago Modified 3 years, 8 months ago Viewed 16k times

  3. java - #root and #this in SpEL - Stack Overflow

    In Spring 3 SpEL, #this and #root were introduced. The variable #root is always defined and refers to the root context object. Although #this may vary as components of an expression are evalu...

  4. SpEL: How to check if variable matches any element from list?

    Dec 1, 2020 · SpEL is fully based on Java, so whatever you can do with Collection is available in SpEL, too. So, I would implement your request as: {1,2,3}.contains(#id) Having list of desired …

  5. Spring SpEL expression evaluation for an application yml property

    Aug 13, 2020 · I am trying to derive a value for a property in my application.yml config file using Spring SpEL expression, but it looks like the the expression is not getting evaluated.

  6. How concatenate two string in Spring Expression Language (SpEL)

    Jun 19, 2014 · How concatenate two string in Spring Expression Language (SpEL) Asked 11 years, 6 months ago Modified 1 year, 11 months ago Viewed 31k times

  7. How to customize the SpEL parser in Spring? - Stack Overflow

    Sep 23, 2014 · When using SpEL programmatically, you can inject a StandardTypeLocator into the evaluation context, after adding your packages to the StandardTypeLocator using …

  8. Spring Expression Language (SpEL): check empty string?

    Jun 10, 2019 · What is a canonical way to check if the String is null or empty using SpEL? I would like to achieve the same result as Strings.isNullOrEmpty(myString) from Guava does. My …

  9. Spring AOP+Custom Annotation+SpEL - Stack Overflow

    Oct 28, 2020 · Another question is why you need SpEL at all if the annotation is only used in the aspect. You could get the method parameter name directly from the aspect and generate the …

  10. How to reference a bean by type in a SpEL? - Stack Overflow

    Jan 16, 2020 · I was just answering from the SpEL perspective that to reference a @Bean whose name is created from a class name (such as with @Component), it's name has a lower case …