Class SpringBootExpressionLanguageProvider
- java.lang.Object
-
- org.joinfaces.autoconfigure.rewrite.SpringBootExpressionLanguageProvider
-
- All Implemented Interfaces:
org.ocpsoft.common.pattern.Weighted
,org.ocpsoft.rewrite.el.spi.ExpressionLanguageProvider
public class SpringBootExpressionLanguageProvider extends java.lang.Object implements org.ocpsoft.rewrite.el.spi.ExpressionLanguageProvider
Implementation ofExpressionLanguageProvider
for the Spring Expression Language (SpEL). Inspired by https://github.com/ocpsoft/rewrite/blob/master/integration-spring/src/main/java/org/ocpsoft/rewrite/spring/SpringExpressionLanguageProvider.java- See Also:
SpringExpressionLanguageProvider
-
-
Constructor Summary
Constructors Constructor Description SpringBootExpressionLanguageProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
evaluateMethodExpression(java.lang.String expression)
java.lang.Object
evaluateMethodExpression(java.lang.String expression, java.lang.Object... values)
org.springframework.expression.EvaluationContext
getEvaluationContext()
Lazily creates a StandardEvaluationContext.int
priority()
java.lang.Object
retrieveValue(java.lang.String expression)
void
submitValue(java.lang.String expression, java.lang.Object value)
-
-
-
Method Detail
-
priority
public int priority()
- Specified by:
priority
in interfaceorg.ocpsoft.common.pattern.Weighted
-
retrieveValue
public java.lang.Object retrieveValue(java.lang.String expression) throws java.lang.UnsupportedOperationException
- Specified by:
retrieveValue
in interfaceorg.ocpsoft.rewrite.el.spi.ExpressionLanguageProvider
- Throws:
java.lang.UnsupportedOperationException
-
submitValue
public void submitValue(java.lang.String expression, java.lang.Object value) throws java.lang.UnsupportedOperationException
- Specified by:
submitValue
in interfaceorg.ocpsoft.rewrite.el.spi.ExpressionLanguageProvider
- Throws:
java.lang.UnsupportedOperationException
-
evaluateMethodExpression
public java.lang.Object evaluateMethodExpression(java.lang.String expression) throws java.lang.UnsupportedOperationException
- Specified by:
evaluateMethodExpression
in interfaceorg.ocpsoft.rewrite.el.spi.ExpressionLanguageProvider
- Throws:
java.lang.UnsupportedOperationException
-
evaluateMethodExpression
public java.lang.Object evaluateMethodExpression(java.lang.String expression, java.lang.Object... values) throws java.lang.UnsupportedOperationException
- Specified by:
evaluateMethodExpression
in interfaceorg.ocpsoft.rewrite.el.spi.ExpressionLanguageProvider
- Throws:
java.lang.UnsupportedOperationException
-
getEvaluationContext
public org.springframework.expression.EvaluationContext getEvaluationContext()
Lazily creates a StandardEvaluationContext. The code has been inspired byStandardBeanExpressionResolver.evaluate(String, BeanExpressionContext)
- Returns:
- evaluation context
-
-