Bean
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
*Bean [#sbd3f6bb]
-JavaBeansの部品
-[[DI]]
**Beanの利用方法 [#t319266b]
***Bean定義ファイル を使った利用 [#b5a7c286]
-Spring Bean Configuration File(Spring Bean 構成ファイル)
--[[XML]]
--org.springframework.context.support.ClassPathXmlApplica...
<bean id="abc" class="com.abc">
<property name="def" value="DEF" />
</bean>
***アノテーション を使った利用 [#j51b61a2]
-AnnotationConfigApplicationContext
--org.springframework.context.annotation.AnnotationConfig...
-@Configuration
--org.springframework.context.annotation.Configuration;
-@Bean
--org.springframework.context.annotation.Bean;
**Beanクラス [#y6e67b74]
-プロパティ
-privateフィールド
-Setterメソッド
-Getterメソッド
**関連用語 [#h4e32a7d]
-[[Java]]
終了行:
*Bean [#sbd3f6bb]
-JavaBeansの部品
-[[DI]]
**Beanの利用方法 [#t319266b]
***Bean定義ファイル を使った利用 [#b5a7c286]
-Spring Bean Configuration File(Spring Bean 構成ファイル)
--[[XML]]
--org.springframework.context.support.ClassPathXmlApplica...
<bean id="abc" class="com.abc">
<property name="def" value="DEF" />
</bean>
***アノテーション を使った利用 [#j51b61a2]
-AnnotationConfigApplicationContext
--org.springframework.context.annotation.AnnotationConfig...
-@Configuration
--org.springframework.context.annotation.Configuration;
-@Bean
--org.springframework.context.annotation.Bean;
**Beanクラス [#y6e67b74]
-プロパティ
-privateフィールド
-Setterメソッド
-Getterメソッド
**関連用語 [#h4e32a7d]
-[[Java]]
ページ名: