Class ContextBeanResolver

  • All Implemented Interfaces:
    org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware, org.springframework.expression.BeanResolver

    public class ContextBeanResolver
    extends java.lang.Object
    implements org.springframework.context.ApplicationContextAware, org.springframework.expression.BeanResolver
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object resolve​(org.springframework.expression.EvaluationContext evaluationContext, java.lang.String beanName)  
      void setApplicationContext​(org.springframework.context.ApplicationContext applicationContext)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ContextBeanResolver

        public ContextBeanResolver()
    • Method Detail

      • setApplicationContext

        public void setApplicationContext​(org.springframework.context.ApplicationContext applicationContext)
                                   throws org.springframework.beans.BeansException
        Specified by:
        setApplicationContext in interface org.springframework.context.ApplicationContextAware
        Throws:
        org.springframework.beans.BeansException
      • resolve

        public java.lang.Object resolve​(org.springframework.expression.EvaluationContext evaluationContext,
                                        java.lang.String beanName)
                                 throws org.springframework.expression.AccessException
        Specified by:
        resolve in interface org.springframework.expression.BeanResolver
        Throws:
        org.springframework.expression.AccessException