インターフェースの使用
jakarta.enterprise.inject.spi.configurator.BeanAttributesConfigurator
BeanAttributesConfigurator を使用するパッケージ
jakarta.enterprise.inject.spi 内の BeanAttributesConfigurator 使用
修飾子と型メソッド説明ProcessBeanAttributes.configureBeanAttributes()このイベントによって処理されたBeanAttributesで初期化されたBeanAttributesConfiguratorを返し、オブザーバー呼び出しの最後に元の BeanAttributes を置き換える新しい BeanAttributes を構成します。jakarta.enterprise.inject.spi.configurator 内の BeanAttributesConfigurator 使用
修飾子と型メソッド説明BeanAttributesConfigurator.addQualifier(AnnotationSE qualifier) 構成済みの Bean に修飾子を追加しますBeanAttributesConfigurator.addQualifiers(AnnotationSE... qualifiers) Bean に修飾子を追加します。BeanAttributesConfigurator.addQualifiers(SetSE<AnnotationSE> qualifiers) Bean に修飾子を追加します。BeanAttributesConfigurator.addStereotype(ClassSE<? extends AnnotationSE> stereotype) 構成済みの Bean にステレオタイプを追加するBeanAttributesConfigurator.addStereotypes(SetSE<ClassSE<? extends AnnotationSE>> stereotypes) 構成済みの Bean にステレオタイプを追加するBeanAttributesConfigurator.addTransitiveTypeClosure(TypeSE type) マネージド Bean の Bean クラスを表すかのように、指定された型の無制限の Bean 型のセットを追加します。BeanAttributesConfigurator.addType(TypeLiteral<?> typeLiteral) Bean 型に型を追加するBean 型に型を追加するBean 型に型を追加するBean 型に型を追加するBeanAttributesConfigurator.alternative(boolean value) 設定された Bean の代替ステータスを変更します。構成された Bean の名前を設定しますBeanAttributesConfigurator.qualifiers(AnnotationSE... qualifiers) すべての修飾子を置き換えます。BeanAttributesConfigurator.qualifiers(SetSE<AnnotationSE> qualifiers) すべての修飾子を置き換えます。BeanAttributesConfigurator.scope(ClassSE<? extends AnnotationSE> scope) Bean スコープを置き換えるBeanAttributesConfigurator.stereotypes(SetSE<ClassSE<? extends AnnotationSE>> stereotypes) 構成済みの Bean のステレオタイプを置き換えるBean 型を置き換えるBean 型を置き換える