パッケージ | 説明 |
---|---|
org.springframework.beans.factory.groovy | Groovy ベースの Bean 定義のサポートパッケージ。 |
org.springframework.beans.factory.support | org.springframework.beans.factory パッケージをサポートするクラス。 |
org.springframework.beans.factory.xml | 標準の "spring-beans" XSD を含む、抽象 XML ベースの BeanFactory 実装が含まれています。 |
org.springframework.core.io.support | Spring のリソース抽象化のサポートクラス。 |
org.springframework.jdbc.datasource.init | スクリプトを介してデータベースを初期化するための拡張可能なサポートを提供します。 |
org.springframework.r2dbc.connection.init | スクリプトを介してデータベースを初期化するための拡張可能なサポートを提供します。 |
org.springframework.scripting.support | Spring のスクリプトパッケージのサポートクラス。 |
修飾子と型 | メソッドと説明 |
---|---|
int | GroovyBeanDefinitionReader.loadBeanDefinitions(EncodedResource encodedResource) 指定された Groovy スクリプトまたは XML ファイルから Bean 定義をロードします。 |
修飾子と型 | メソッドと説明 |
---|---|
int | PropertiesBeanDefinitionReader.loadBeanDefinitions(EncodedResource encodedResource) 使用すべきではありません。 指定されたプロパティファイルから Bean 定義をロードします。 |
int | PropertiesBeanDefinitionReader.loadBeanDefinitions(EncodedResource encodedResource, StringSE prefix) 使用すべきではありません。 指定されたプロパティファイルから Bean 定義をロードします。 |
修飾子と型 | メソッドと説明 |
---|---|
int | XmlBeanDefinitionReader.loadBeanDefinitions(EncodedResource encodedResource) 指定された XML ファイルから Bean 定義をロードします。 |
修飾子と型 | メソッドと説明 |
---|---|
PropertySource<?> | PropertySourceFactory.createPropertySource(StringSE name, EncodedResource resource) 指定されたリソースをラップする PropertySource を作成します。 |
PropertySource<?> | DefaultPropertySourceFactory.createPropertySource(StringSE name, EncodedResource resource) |
static void | PropertiesLoaderUtils.fillProperties(PropertiesSE props, EncodedResource resource) 特定の EncodedResource から特定のプロパティを入力し、プロパティファイルの特定のエンコーディングを潜在的に定義します。 |
static PropertiesSE | PropertiesLoaderUtils.loadProperties(EncodedResource resource) 指定された EncodedResource からプロパティをロードし、プロパティファイルの特定のエンコーディングを潜在的に定義します。 |
コンストラクターと説明 |
---|
ResourcePropertySource(EncodedResource resource) 指定されたリソースからロードされたプロパティに基づいて PropertySource を作成します。 |
ResourcePropertySource(StringSE name, EncodedResource resource) 指定されたエンコードされたリソースからロードされたプロパティに基づいて、指定された名前を持つ PropertySource を作成します。 |
修飾子と型 | メソッドと説明 |
---|---|
static StringSE | ScriptStatementFailedException.buildErrorMessage(StringSE stmt, int stmtNumber, EncodedResource encodedResource) 指定された引数に基づいて、SQL スクリプト実行の失敗に関するエラーメッセージを作成します。 |
static void | ScriptUtils.executeSqlScript(ConnectionSE connection, EncodedResource resource) ステートメント区切り文字、コメント区切り文字、例外処理フラグのデフォルト設定を使用して、指定された SQL スクリプトを実行します。 |
static void | ScriptUtils.executeSqlScript(ConnectionSE connection, EncodedResource resource, boolean continueOnError, boolean ignoreFailedDrops, StringSE[] commentPrefixes, StringSE separator, StringSE blockCommentStartDelimiter, StringSE blockCommentEndDelimiter) 指定された SQL スクリプトを実行します。 |
static void | ScriptUtils.executeSqlScript(ConnectionSE connection, EncodedResource resource, boolean continueOnError, boolean ignoreFailedDrops, StringSE commentPrefix, StringSE separator, StringSE blockCommentStartDelimiter, StringSE blockCommentEndDelimiter) 指定された SQL スクリプトを実行します。 |
static void | ScriptUtils.splitSqlScript(EncodedResource resource, StringSE script, StringSE separator, StringSE[] commentPrefixes, StringSE blockCommentStartDelimiter, StringSE blockCommentEndDelimiter, ListSE<StringSE> statements) 使用すべきではありません。 Spring Framework 5.2.16 の時点で、代替の予定はありません。これは内部 API であり、Spring Framework 6.0 で削除される可能性があります。 |
static void | ScriptUtils.splitSqlScript(EncodedResource resource, StringSE script, StringSE separator, StringSE commentPrefix, StringSE blockCommentStartDelimiter, StringSE blockCommentEndDelimiter, ListSE<StringSE> statements) 使用すべきではありません。 Spring Framework 5.2.16 の時点で、代替の予定はありません。これは内部 API であり、Spring Framework 6.0 で削除される可能性があります。 |
コンストラクターと説明 |
---|
CannotReadScriptException(EncodedResource resource, ThrowableSE cause) 新しい CannotReadScriptException を作成します。 |
ScriptParseException(StringSE message, EncodedResource resource) 新しい ScriptParseException を作成します。 |
ScriptParseException(StringSE message, EncodedResource resource, ThrowableSE cause) 新しい ScriptParseException を作成します。 |
ScriptStatementFailedException(StringSE stmt, int stmtNumber, EncodedResource encodedResource, ThrowableSE cause) 新しい ScriptStatementFailedException を作成します。 |
修飾子と型 | メソッドと説明 |
---|---|
static StringSE | ScriptStatementFailedException.buildErrorMessage(StringSE stmt, int stmtNumber, EncodedResource encodedResource) 指定された引数に基づいて、SQL スクリプト実行の失敗に関するエラーメッセージを作成します。 |
static reactor.core.publisher.Mono<VoidSE> | ScriptUtils.executeSqlScript(Connection connection, EncodedResource resource) ステートメント区切り文字、コメント区切り文字、例外処理フラグのデフォルト設定を使用して、指定された SQL スクリプトを実行します。 |
static reactor.core.publisher.Mono<VoidSE> | ScriptUtils.executeSqlScript(Connection connection, EncodedResource resource, DataBufferFactory dataBufferFactory, boolean continueOnError, boolean ignoreFailedDrops, StringSE[] commentPrefixes, StringSE separator, StringSE blockCommentStartDelimiter, StringSE blockCommentEndDelimiter) 指定された SQL スクリプトを実行します。 |
static reactor.core.publisher.Mono<VoidSE> | ScriptUtils.executeSqlScript(Connection connection, EncodedResource resource, DataBufferFactory dataBufferFactory, boolean continueOnError, boolean ignoreFailedDrops, StringSE commentPrefix, StringSE separator, StringSE blockCommentStartDelimiter, StringSE blockCommentEndDelimiter) 指定された SQL スクリプトを実行します。 |
コンストラクターと説明 |
---|
CannotReadScriptException(EncodedResource resource, ThrowableSE cause) 新しい CannotReadScriptException を作成します。 |
ScriptParseException(StringSE message, EncodedResource resource) 新しい ScriptParseException を作成します。 |
ScriptParseException(StringSE message, EncodedResource resource, ThrowableSE cause) 新しい ScriptParseException を作成します。 |
ScriptStatementFailedException(StringSE stmt, int stmtNumber, EncodedResource encodedResource, ThrowableSE cause) 新しい ScriptStatementFailedException を作成します。 |
コンストラクターと説明 |
---|
ResourceScriptSource(EncodedResource resource) 指定されたリソースの新しい ResourceScriptSource を作成します。 |