Class ExpressionFactoryBean

  • All Implemented Interfaces:
    org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.FactoryBean<org.springframework.expression.Expression>, org.springframework.beans.factory.InitializingBean

    public class ExpressionFactoryBean
    extends org.springframework.beans.factory.config.AbstractFactoryBean<org.springframework.expression.Expression>
    FactoryBean for creating Expression instances.
    Since:
    1.4
    • Field Summary

      • Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean

        logger
      • Fields inherited from interface org.springframework.beans.factory.FactoryBean

        OBJECT_TYPE_ATTRIBUTE
    • Constructor Summary

      Constructors 
      Constructor Description
      ExpressionFactoryBean​(java.lang.String expressionString)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.springframework.expression.Expression createInstance()  
      java.lang.Class<?> getObjectType()  
      void setParserConfiguration​(org.springframework.expression.spel.SpelParserConfiguration parserConfiguration)  
      • Methods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean

        afterPropertiesSet, destroy, destroyInstance, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
      • Methods inherited from class java.lang.Object

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

      • ExpressionFactoryBean

        public ExpressionFactoryBean​(java.lang.String expressionString)
    • Method Detail

      • setParserConfiguration

        public void setParserConfiguration​(org.springframework.expression.spel.SpelParserConfiguration parserConfiguration)
      • getObjectType

        public java.lang.Class<?> getObjectType()
        Specified by:
        getObjectType in interface org.springframework.beans.factory.FactoryBean<org.springframework.expression.Expression>
        Specified by:
        getObjectType in class org.springframework.beans.factory.config.AbstractFactoryBean<org.springframework.expression.Expression>
      • createInstance

        protected org.springframework.expression.Expression createInstance()
        Specified by:
        createInstance in class org.springframework.beans.factory.config.AbstractFactoryBean<org.springframework.expression.Expression>