| Modifier and Type | Interface and Description |
|---|---|
static interface |
WeldInstance.Handler<T>
A contextual reference handler.
|
| Modifier and Type | Method and Description |
|---|---|
WeldInstance.Handler<T> |
getHandler()
Obtains a contextual reference handler for the bean that has the required type and required qualifiers and is eligible for injection.
|
Iterable<WeldInstance.Handler<T>> |
handlers()
Allows to iterate over contextual reference handlers for all the beans that have the required type and required qualifiers and are eligible for
injection.
|
boolean |
isResolvable() |
WeldInstance<T> |
select(Annotation... qualifiers)
Obtains a child Instance for the given additional required qualifiers.
|
<U extends T> |
select(Class<U> subtype,
Annotation... qualifiers)
Obtains a child Instance for the given required type and additional required qualifiers.
|
<U extends T> |
select(TypeLiteral<U> subtype,
Annotation... qualifiers)
Obtains a child Instance for the given required type and additional required qualifiers.
|
destroy, isAmbiguous, isUnsatisfiedforEach, iterator, spliteratorWeldInstance.Handler<T> getHandler()
Note that each invocation of this method results in a separate Provider.get() invocation.
UnsatisfiedResolutionExceptionAmbiguousResolutionExceptionboolean isResolvable()
true if satisfied and not ambiguous, false otherwiseInstance.isAmbiguous(),
Instance.isUnsatisfied()Iterable<WeldInstance.Handler<T>> handlers()
Note that the returned Iterable is stateless and so each Iterable.iterator() produces a new set of handlers.
WeldInstance<T> select(Annotation... qualifiers)
InstanceObtains a child Instance for the given additional required qualifiers.
<U extends T> WeldInstance<U> select(Class<U> subtype, Annotation... qualifiers)
InstanceObtains a child Instance for the given required type and additional required qualifiers.
<U extends T> WeldInstance<U> select(TypeLiteral<U> subtype, Annotation... qualifiers)
InstanceObtains a child Instance for the given required type and additional required qualifiers.
select in interface Instance<T>U - the required typesubtype - a TypeLiteral representing the required typequalifiers - the additional required qualifiersCopyright © 2017 JBoss by Red Hat. All rights reserved.