パッケージ | 説明 |
---|---|
org.springframework.scripting | Spring のスクリプトサポートのコアインターフェース。 |
org.springframework.scripting.bsh | BeanShell (および BeanShell2)を Spring のスクリプトインフラストラクチャに統合するパッケージ。 |
org.springframework.scripting.groovy | Groovy を Spring のスクリプトインフラストラクチャに統合するパッケージ。 |
org.springframework.scripting.support | Spring のスクリプトパッケージのサポートクラス。 |
修飾子と型 | メソッドと説明 |
---|---|
ScriptSource | ScriptCompilationException.getScriptSource() 問題のあるスクリプトのソースを返します。 |
修飾子と型 | メソッドと説明 |
---|---|
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 オブジェクトの型を判別します。 |
boolean | ScriptFactory.requiresScriptedObjectRefresh(ScriptSource scriptSource) リフレッシュが必要かどうかを判断します(例: |
コンストラクターと説明 |
---|
ScriptCompilationException(ScriptSource scriptSource, StringSE msg) ScriptCompilationException のコンストラクター。 |
ScriptCompilationException(ScriptSource scriptSource, StringSE msg, ThrowableSE cause) ScriptCompilationException のコンストラクター。 |
ScriptCompilationException(ScriptSource scriptSource, ThrowableSE cause) ScriptCompilationException のコンストラクター。 |
修飾子と型 | メソッドと説明 |
---|---|
ObjectSE | BshScriptEvaluator.evaluate(ScriptSource script) |
ObjectSE | BshScriptEvaluator.evaluate(ScriptSource script, MapSE<StringSE, ObjectSE> arguments) |
ObjectSE | BshScriptFactory.getScriptedObject(ScriptSource scriptSource, ClassSE<?>... actualInterfaces) BshScriptUtils を介して BeanShell スクリプトをロードして解析します。 |
ClassSE<?> | BshScriptFactory.getScriptedObjectType(ScriptSource scriptSource) |
boolean | BshScriptFactory.requiresScriptedObjectRefresh(ScriptSource scriptSource) |
修飾子と型 | メソッドと説明 |
---|---|
ObjectSE | GroovyScriptEvaluator.evaluate(ScriptSource script) |
ObjectSE | GroovyScriptEvaluator.evaluate(ScriptSource script, MapSE<StringSE, ObjectSE> arguments) |
protected ObjectSE | GroovyScriptFactory.executeScript(ScriptSource scriptSource, ClassSE<?> scriptClass) 指定された Groovy スクリプトクラスをインスタンス化し、必要に応じて実行します。 |
ObjectSE | GroovyScriptFactory.getScriptedObject(ScriptSource scriptSource, ClassSE<?>... actualInterfaces) GroovyClassLoader を介して Groovy スクリプトをロードして解析します。 |
ClassSE<?> | GroovyScriptFactory.getScriptedObjectType(ScriptSource scriptSource) |
boolean | GroovyScriptFactory.requiresScriptedObjectRefresh(ScriptSource scriptSource) |
修飾子と型 | クラスと説明 |
---|---|
class | ResourceScriptSource Spring の Resource 抽象化に基づく ScriptSource 実装。 |
class | StaticScriptSource ScriptSource インターフェースの静的実装。スクリプトソーステキストを含む指定された文字列をカプセル化します。 |
修飾子と型 | メソッドと説明 |
---|---|
protected ScriptSource | ScriptFactoryPostProcessor.convertToScriptSource(StringSE beanName, StringSE scriptSourceLocator, ResourceLoader resourceLoader) 指定されたスクリプトソースロケータを ScriptSource インスタンスに変換します。 |
protected ScriptSource | ScriptFactoryPostProcessor.getScriptSource(StringSE beanName, StringSE scriptSourceLocator) 指定された Bean の ScriptSource を取得し、まだキャッシュされていない場合は遅延して作成します。 |
修飾子と型 | メソッドと説明 |
---|---|
protected ObjectSE | StandardScriptFactory.adaptToInterfaces(ObjectSE script, ScriptSource scriptSource, ClassSE<?>... actualInterfaces) |
protected BeanDefinition | ScriptFactoryPostProcessor.createScriptedObjectBeanDefinition(BeanDefinition bd, StringSE scriptFactoryBeanName, ScriptSource scriptSource, ClassSE<?>[] interfaces) 指定されたスクリプト定義に基づいて、スクリプトオブジェクトの Bean 定義を作成し、スクリプトオブジェクトに関連する定義データ(つまり、Bean クラスとコンストラクター引数を除くすべて)を抽出します。 |
ObjectSE | StandardScriptEvaluator.evaluate(ScriptSource script) |
ObjectSE | StandardScriptEvaluator.evaluate(ScriptSource script, MapSE<StringSE, ObjectSE> argumentBindings) |
protected ObjectSE | StandardScriptFactory.evaluateScript(ScriptSource scriptSource) |
ObjectSE | StandardScriptFactory.getScriptedObject(ScriptSource scriptSource, ClassSE<?>... actualInterfaces) JSR-223 の ScriptEngine を介してスクリプトをロードして解析します。 |
ClassSE<?> | StandardScriptFactory.getScriptedObjectType(ScriptSource scriptSource) |
protected ScriptEngineSE | StandardScriptEvaluator.getScriptEngine(ScriptSource script) 指定されたスクリプトで使用する JSR-223 ScriptEngine を取得します。 |
boolean | StandardScriptFactory.requiresScriptedObjectRefresh(ScriptSource scriptSource) |
protected ScriptEngineSE | StandardScriptFactory.retrieveScriptEngine(ScriptSource scriptSource) |
コンストラクターと説明 |
---|
RefreshableScriptTargetSource(BeanFactory beanFactory, StringSE beanName, ScriptFactory scriptFactory, ScriptSource scriptSource, boolean isFactoryBean) 新しい RefreshableScriptTargetSource を作成します。 |