クラスの使用
org.springframework.beans.factory.support.DefaultListableBeanFactory
パッケージ
説明
Spring の AOP 自動プロキシサポートで使用するためのさまざまな
TargetSourceCreator
実装。JSR-250「共通」アノテーション、コンポーネントスキャン、Spring 管理オブジェクトを作成するための Java ベースのメタデータなど、アプリケーションコンテキストのアノテーションサポート。
ApplicationContext 実装および MessageSource 実装の抽象基本クラスなど、org.springframework.context パッケージをサポートするクラス。
Spring TestContext フレームワークのサポートクラス。
Web は、Spring TestContext フレームワークのクラスをサポートします。
WebApplicationContext 実装やさまざまなユーティリティクラスなど、
org.springframework.web.context
パッケージをサポートするクラス。org.springframework.aop.framework.autoproxy.target 内の DefaultListableBeanFactory 使用
修飾子と型メソッド説明protected DefaultListableBeanFactory
AbstractBeanFactoryBasedTargetSourceCreator.buildInternalBeanFactory
(ConfigurableBeanFactory containingFactory) ターゲット Bean を解決するための内部 BeanFactory をビルドします。protected DefaultListableBeanFactory
AbstractBeanFactoryBasedTargetSourceCreator.getInternalBeanFactoryForBean
(StringSE beanName) 指定された Bean に使用される内部 BeanFactory を返します。org.springframework.context.annotation 内の DefaultListableBeanFactory 使用
修飾子コンストラクター説明指定された DefaultListableBeanFactory で新しい AnnotationConfigApplicationContext を作成します。org.springframework.context.support 内の DefaultListableBeanFactory 使用
修飾子と型メソッド説明protected DefaultListableBeanFactory
AbstractRefreshableApplicationContext.createBeanFactory()
このコンテキストの内部 Bean ファクトリを作成します。GenericApplicationContext.getDefaultListableBeanFactory()
Bean 定義の登録に使用できる、このコンテキストの基になる Bean ファクトリを返します。修飾子と型メソッド説明protected void
AbstractRefreshableApplicationContext.customizeBeanFactory
(DefaultListableBeanFactory beanFactory) このコンテキストで使用される内部 Bean ファクトリをカスタマイズします。protected abstract void
AbstractRefreshableApplicationContext.loadBeanDefinitions
(DefaultListableBeanFactory beanFactory) Bean 定義を特定の Bean ファクトリにロードします。通常、1 つ以上の Bean 定義リーダーに委譲します。protected void
AbstractXmlApplicationContext.loadBeanDefinitions
(DefaultListableBeanFactory beanFactory) XmlBeanDefinitionReader を介して Bean 定義をロードします。修飾子コンストラクター説明GenericApplicationContext
(DefaultListableBeanFactory beanFactory) 指定された DefaultListableBeanFactory で新しい GenericApplicationContext を作成します。GenericApplicationContext
(DefaultListableBeanFactory beanFactory, ApplicationContext parent) 指定された DefaultListableBeanFactory で新しい GenericApplicationContext を作成します。org.springframework.test.context.support 内の DefaultListableBeanFactory 使用
修飾子と型メソッド説明protected void
AbstractGenericContextLoader.customizeBeanFactory
(DefaultListableBeanFactory beanFactory) このContextLoader
によって作成された ApplicationContext の内部 Bean ファクトリをカスタマイズします。org.springframework.test.context.web 内の DefaultListableBeanFactory 使用
修飾子と型メソッド説明protected void
AbstractGenericWebContextLoader.customizeBeanFactory
(DefaultListableBeanFactory beanFactory, WebMergedContextConfiguration webMergedConfig) このコンテキストローダーによって作成されたWebApplicationContext
の内部 Bean ファクトリをカスタマイズします。org.springframework.web.context.support 内の DefaultListableBeanFactory 使用
修飾子と型メソッド説明protected AnnotatedBeanDefinitionReader
AnnotationConfigWebApplicationContext.getAnnotatedBeanDefinitionReader
(DefaultListableBeanFactory beanFactory) 指定された Bean ファクトリのAnnotatedBeanDefinitionReader
を構築します。protected ClassPathBeanDefinitionScanner
AnnotationConfigWebApplicationContext.getClassPathBeanDefinitionScanner
(DefaultListableBeanFactory beanFactory) 指定された Bean ファクトリ用にClassPathBeanDefinitionScanner
を構築します。protected void
AnnotationConfigWebApplicationContext.loadBeanDefinitions
(DefaultListableBeanFactory beanFactory) AnnotationConfigWebApplicationContext.register(Class...)
で指定されたクラスのBeanDefinition
を登録し、AnnotationConfigWebApplicationContext.scan(String...)
で指定されたパッケージをスキャンします。protected void
GroovyWebApplicationContext.loadBeanDefinitions
(DefaultListableBeanFactory beanFactory) GroovyBeanDefinitionReader を介して Bean 定義をロードします。protected void
XmlWebApplicationContext.loadBeanDefinitions
(DefaultListableBeanFactory beanFactory) XmlBeanDefinitionReader を介して Bean 定義をロードします。修飾子コンストラクター説明GenericWebApplicationContext
(DefaultListableBeanFactory beanFactory) 指定されたDefaultListableBeanFactory
で新しいGenericWebApplicationContext
を作成します。GenericWebApplicationContext
(DefaultListableBeanFactory beanFactory, ServletContextEE servletContext)