Package org.jboss.weld.resolution
Interface Resolvable
- All Known Subinterfaces:
InterceptorResolvable
- All Known Implementing Classes:
ForwardingResolvable,ProcessAnnotatedTypeEventResolvable,ResolvableBuilder.ResolvableImpl
public interface Resolvable
Something that is resolvable by the resolver. A resolvable is defined by it's
bindings and type closure
- Author:
- pmuir
-
Method Summary
Modifier and TypeMethodDescriptionjakarta.enterprise.inject.spi.Bean<?>Get the declaring the injection point, or null if there is noneClass<?>Get the underlying java class used to generate this resolvable, or null if no java class was usedGet the bindings to use for resolution.getTypes()The types that this resolvable may be assigned tobooleanReturns true if the resolvable represents a delegate injection point, which requires specific rules (8.3.1) to be used during resolution.
-
Method Details
-
getQualifiers
Set<QualifierInstance> getQualifiers()Get the bindings to use for resolution. @Default will be returned if no bindings were specified- Returns:
- the bindings
-
getTypes
The types that this resolvable may be assigned to- Returns:
-
getJavaClass
Class<?> getJavaClass()Get the underlying java class used to generate this resolvable, or null if no java class was used- Returns:
- the java class
-
getDeclaringBean
jakarta.enterprise.inject.spi.Bean<?> getDeclaringBean()Get the declaring the injection point, or null if there is none- Returns:
-
isDelegate
boolean isDelegate()Returns true if the resolvable represents a delegate injection point, which requires specific rules (8.3.1) to be used during resolution.
-