BeanA
and BeanB
both implementing @Current BeanAPI
. The ambiguity may also occur when using more than one {@link javax.enterprise.inject.BindingType @BindingType} on the samebean or when using the special {@link javax.enterprise.inject.Any @Any}bindings, for example:
@Foo @A public class Bean {}
@Foo @B public class Bean {}class MyClass {
@Foo Bean _fooField
@Any Bean _anyField}
|
|
|
|
|
|