类 ReflectiveConstructorExecutor
java.lang.Object
cn.taketoday.expression.spel.support.ReflectiveConstructorExecutor
- 所有已实现的接口:
ConstructorExecutor
A simple ConstructorExecutor implementation that runs a constructor using reflective
invocation.
- 从以下版本开始:
- 4.0
- 作者:
- Andy Clement, Juergen Hoeller
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明execute(EvaluationContext context, Object... arguments) Execute a constructor in the specified context using the specified arguments.Constructor<?>
-
构造器详细资料
-
ReflectiveConstructorExecutor
-
-
方法详细资料
-
execute
从接口复制的说明:ConstructorExecutorExecute a constructor in the specified context using the specified arguments.- 指定者:
execute在接口中ConstructorExecutor- 参数:
context- the evaluation context in which the command is being executedarguments- the arguments to the constructor call, should match (in terms of number and type) whatever the command will need to run- 返回:
- the new object
- 抛出:
AccessException- if there is a problem executing the command or the CommandExecutor is no longer valid
-
getConstructor
-