类 SpELFunction

java.lang.Object
org.beetl.ext.spring.SpELFunction
所有已实现的接口:
org.beetl.core.Function, org.springframework.beans.factory.Aware, org.springframework.beans.factory.DisposableBean, org.springframework.context.ApplicationContextAware

public class SpELFunction extends Object implements org.beetl.core.Function, org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.DisposableBean
SpEL表达式函数,spring.spel()
作者:
Chen Rui
  • 嵌套类概要

    从接口继承的嵌套类/接口 org.beetl.core.Function

    org.beetl.core.Function.ChangeInput, org.beetl.core.Function.ForceSafe, org.beetl.core.Function.LineAware
  • 构造器概要

    构造器
    构造器
    说明
     
  • 方法概要

    修饰符和类型
    方法
    说明
    call(Object[] args, org.beetl.core.Context context)
    方法调用
    void
    在关闭时清空表达式缓存
    void
    setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
    Spring 应用程序上下文

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 构造器详细资料

    • SpELFunction

      public SpELFunction()
  • 方法详细资料

    • setApplicationContext

      public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
      Spring 应用程序上下文
      指定者:
      setApplicationContext 在接口中 org.springframework.context.ApplicationContextAware
      参数:
      applicationContext - Spring 应用程序上下文
    • call

      public Object call(Object[] args, org.beetl.core.Context context)
      方法调用
      指定者:
      call 在接口中 org.beetl.core.Function
      参数:
      args - 方法参数列表
      context - Beetl执行上下文
      返回:
      SpEL表达式执行结果
    • destroy

      public void destroy()
      在关闭时清空表达式缓存
      指定者:
      destroy 在接口中 org.springframework.beans.factory.DisposableBean