インターフェース Bean<T>
- 型パラメーター:
T- Bean インスタンスのクラス
- すべてのスーパーインターフェース:
BeanAttributes<T>,Contextual<T>
- 既知のすべてのサブインターフェース:
Decorator<T>,Interceptor<T>
public interface Bean<T> extends Contextual<T>, BeanAttributes<T>
有効な Bean を表します。このインターフェースは、Bean のインスタンスを管理するためにコンテナーが必要とするすべてを定義します。
- 作成者:
- Gavin King, David Allen
方法の概要
すべてのメソッド インスタンスメソッド 抽象メソッド 修飾子と型 メソッド 説明 ClassSE<?>getBeanClass()管理対象 Bean またはセッション Bean、あるいはプロデューサーメソッドまたはフィールドを宣言する Bean の BeanクラスSE。SetSE<InjectionPoint>getInjectionPoints()初期化時にコンテナーによって検証される、Bean のインジェクションポイントを表すInjectionPointオブジェクトを取得します。インターフェース jakarta.enterprise.inject.spi.BeanAttributes から継承されたメソッド
getName, getQualifiers, getScope, getStereotypes, getTypes, isAlternative
インターフェース jakarta.enterprise.context.spi.Contextual から継承されたメソッド
create, destroy
メソッドの詳細
getBeanClass
ClassSE<?> getBeanClass()
管理対象 Bean またはセッション Bean、あるいはプロデューサーメソッドまたはフィールドを宣言する Bean の BeanクラスSE。- 戻り値:
- BeanクラスSE
getInjectionPoints
SetSE<InjectionPoint> getInjectionPoints()
初期化時にコンテナーによって検証される、Bean のインジェクションポイントを表すInjectionPointオブジェクトを取得します。- 戻り値:
- Bean のインジェクションポイントのセット