Class WithCurrentRequestBeanFactoryResolver

  • All Implemented Interfaces:
    org.springframework.expression.BeanResolver

    public class WithCurrentRequestBeanFactoryResolver
    extends org.springframework.context.expression.BeanFactoryResolver
    Created by lh on 01/06/15.
    • Constructor Summary

      Constructors 
      Constructor Description
      WithCurrentRequestBeanFactoryResolver​(org.springframework.beans.factory.BeanFactory beanFactory, javax.servlet.http.HttpServletRequest request)  
    • Method Summary

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

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

      • WithCurrentRequestBeanFactoryResolver

        public WithCurrentRequestBeanFactoryResolver​(org.springframework.beans.factory.BeanFactory beanFactory,
                                                     javax.servlet.http.HttpServletRequest request)
    • Method Detail

      • resolve

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