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