类 NullConstructorStrategy
java.lang.Object
com.obermuhlner.scriptengine.java.constructor.NullConstructorStrategy
- 所有已实现的接口:
ConstructorStrategy
A
ConstructorStrategy implementation that always returns null.
Used to indicate that only static methods should be called to evaluate the
JavaCompiledScript holding the Class.-
构造器概要
构造器 -
方法概要
-
构造器详细资料
-
NullConstructorStrategy
public NullConstructorStrategy()
-
-
方法详细资料
-
construct
从接口复制的说明:ConstructorStrategyConstructs an instance of aClass.- 指定者:
construct在接口中ConstructorStrategy- 参数:
clazz- theClass- 返回:
- the constructed instance or
null - 抛出:
ScriptException- if the instance could not be constructed
-