インターフェースの使用
org.springframework.beans.factory.BeanRegistrar
BeanRegistrar を使用するパッケージ
パッケージ
説明
Spring の軽量の制御の反転(IoC)コンテナーを実装するコアパッケージ。
org.springframework.beans.factory パッケージをサポートするクラス。JSR-250「共通」アノテーション、コンポーネントスキャン、Spring 管理オブジェクトを作成するための Java ベースのメタデータなど、アプリケーションコンテキストのアノテーションサポート。
ApplicationContext 実装および MessageSource 実装の抽象基本クラスなど、org.springframework.context パッケージをサポートするクラス。
WebApplicationContext 実装やさまざまなユーティリティクラスなど、
org.springframework.web.context パッケージをサポートするクラス。org.springframework.beans.factory 内の BeanRegistrar 使用
型 BeanRegistrar のパラメーターを持つ org.springframework.beans.factory のメソッド修飾子と型メソッド説明voidBeanRegistry.register(BeanRegistrar registrar) 指定されたBeanRegistrarを使用して Bean を登録します。org.springframework.beans.factory.support 内の BeanRegistrar 使用
型 BeanRegistrar のパラメーターを持つ org.springframework.beans.factory.support のメソッド型の型引数を持つ org.springframework.beans.factory.support のコンストラクターパラメーター BeanRegistrar修飾子コンストラクター説明BeanRegistryAdapter(BeanDefinitionRegistry beanRegistry, ListableBeanFactory beanFactory, Environment environment, ClassSE<? extends BeanRegistrar> beanRegistrarClass) BeanRegistryAdapter(BeanDefinitionRegistry beanRegistry, ListableBeanFactory beanFactory, Environment environment, ClassSE<? extends BeanRegistrar> beanRegistrarClass, @Nullable MultiValueMap<StringSE, BeanDefinitionCustomizer> customizers) BeanRegistryAdapter(DefaultListableBeanFactory beanFactory, Environment environment, ClassSE<? extends BeanRegistrar> beanRegistrarClass) org.springframework.context.annotation 内の BeanRegistrar 使用
型 BeanRegistrar のパラメーターを持つ org.springframework.context.annotation のメソッド修飾子と型メソッド説明voidAnnotationConfigRegistry.register(BeanRegistrar... registrars) 指定されたレジストラを呼び出して、その Bean をこのアプリケーションコンテキストに登録します。org.springframework.context.support 内の BeanRegistrar 使用
型 BeanRegistrar のパラメーターを持つ org.springframework.context.support のメソッド修飾子と型メソッド説明voidGenericApplicationContext.register(BeanRegistrar... registrars) 指定されたレジストラを呼び出して、その Bean をこのアプリケーションコンテキストに登録します。org.springframework.web.context.support 内の BeanRegistrar 使用
型 BeanRegistrar のパラメーターを持つ org.springframework.web.context.support のメソッド修飾子と型メソッド説明voidAnnotationConfigWebApplicationContext.register(BeanRegistrar... registrars) 指定されたレジストラを呼び出して、その Bean をこのアプリケーションコンテキストに登録します。