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