パッケージ | 説明 |
---|---|
org.springframework.scripting | Spring のスクリプトサポートのコアインターフェース。 |
org.springframework.scripting.bsh | BeanShell (および BeanShell2)を Spring のスクリプトインフラストラクチャに統合するパッケージ。 |
org.springframework.scripting.groovy | Groovy を Spring のスクリプトインフラストラクチャに統合するパッケージ。 |
org.springframework.scripting.support | Spring のスクリプトパッケージのサポートクラス。 |
修飾子と型 | メソッドと説明 |
---|---|
ObjectSE | ScriptEvaluator.evaluate(ScriptSource script) 指定されたスクリプトを評価します。 |
ObjectSE | ScriptEvaluator.evaluate(ScriptSource script, MapSE<StringSE, ObjectSE> arguments) 指定された引数で指定されたスクリプトを評価します。 |
ObjectSE | ScriptFactory.getScriptedObject(ScriptSource scriptSource, ClassSE<?>... actualInterfaces) スクリプト化された Java オブジェクトを作成するためのファクトリメソッド。 |
ClassSE<?> | ScriptFactory.getScriptedObjectType(ScriptSource scriptSource) スクリプト Java オブジェクトの型を判別します。 |
修飾子と型 | メソッドと説明 |
---|---|
ObjectSE | BshScriptFactory.getScriptedObject(ScriptSource scriptSource, ClassSE<?>... actualInterfaces) BshScriptUtils を介して BeanShell スクリプトをロードして解析します。 |
ClassSE<?> | BshScriptFactory.getScriptedObjectType(ScriptSource scriptSource) |
修飾子と型 | メソッドと説明 |
---|---|
protected ObjectSE | GroovyScriptFactory.executeScript(ScriptSource scriptSource, ClassSE<?> scriptClass) 指定された Groovy スクリプトクラスをインスタンス化し、必要に応じて実行します。 |
ObjectSE | GroovyScriptFactory.getScriptedObject(ScriptSource scriptSource, ClassSE<?>... actualInterfaces) GroovyClassLoader を介して Groovy スクリプトをロードして解析します。 |
ClassSE<?> | GroovyScriptFactory.getScriptedObjectType(ScriptSource scriptSource) |
修飾子と型 | メソッドと説明 |
---|---|
ObjectSE | StandardScriptFactory.getScriptedObject(ScriptSource scriptSource, ClassSE<?>... actualInterfaces) JSR-223 の ScriptEngine を介してスクリプトをロードして解析します。 |
ClassSE<?> | StandardScriptFactory.getScriptedObjectType(ScriptSource scriptSource) |