类 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 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明方法调用voiddestroy()在关闭时清空表达式缓存voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext) Spring 应用程序上下文
-
构造器详细资料
-
SpELFunction
public SpELFunction()
-
-
方法详细资料
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) Spring 应用程序上下文- 指定者:
setApplicationContext在接口中org.springframework.context.ApplicationContextAware- 参数:
applicationContext- Spring 应用程序上下文
-
call
方法调用- 指定者:
call在接口中org.beetl.core.Function- 参数:
args- 方法参数列表context- Beetl执行上下文- 返回:
- SpEL表达式执行结果
-
destroy
public void destroy()在关闭时清空表达式缓存- 指定者:
destroy在接口中org.springframework.beans.factory.DisposableBean
-