Class CoherenceBeanExpressionResolver

java.lang.Object
org.springframework.context.expression.StandardBeanExpressionResolver
com.oracle.coherence.spring.CoherenceBeanExpressionResolver
All Implemented Interfaces:
BeanExpressionResolver

public class CoherenceBeanExpressionResolver extends StandardBeanExpressionResolver
A BeanExpressionResolver implementation that bridges Coherence configuration concepts with Spring configuration concepts. Ultimately this class and it's children support the ability to reference Coherence parameter macros within a spring application context file.
Author:
Harvey Raja, Gunnar Hillert
See Also:
  • Constructor Details

    • CoherenceBeanExpressionResolver

      public CoherenceBeanExpressionResolver(com.tangosol.config.expression.ExpressionParser exprParser)
      Creates a CoherenceBeanExpressionResolver instance.
      Parameters:
      exprParser - the ExpressionParser
  • Method Details

    • customizeEvaluationContext

      protected void customizeEvaluationContext(StandardEvaluationContext evalContext)
      Overrides:
      customizeEvaluationContext in class StandardBeanExpressionResolver
    • getResolver

      public com.tangosol.config.expression.ParameterResolver getResolver()
      Returns a thread local instance of a ParameterResolver.
      Returns:
      a context sensitive ParameterResolver
    • setParameterResolver

      public void setParameterResolver(com.tangosol.config.expression.ParameterResolver resolver)
      Set the thread local ParameterResolver.
      Parameters:
      resolver - resolver to use to determine variables
    • cleanupParameterResolver

      public void cleanupParameterResolver()
      Cleaned up ThreadLocal ParameterResolver when no longer used.