@Internal public final class BeanProviderDefinition extends AbstractProviderDefinition<BeanProvider<java.lang.Object>>
BeanProvider bean lookups.NAMED_ATTRIBUTECLASS_NAME_SUFFIX, EMPTY_METADATA, VALUE_MEMBEREMPTY| Constructor and Description | 
|---|
BeanProviderDefinition()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected BeanProvider<java.lang.Object> | 
buildProvider(BeanResolutionContext resolutionContext,
             BeanContext context,
             Argument<java.lang.Object> argument,
             Qualifier<java.lang.Object> qualifier,
             boolean singleton)
Builds a provider implementation. 
 | 
java.lang.Class<BeanProvider<java.lang.Object>> | 
getBeanType()
Returns the bean type. 
 | 
protected boolean | 
isAllowEmptyProviders(BeanContext context)
Return whether missing providers are allowed for this implementation. 
 | 
boolean | 
isEnabled(BeanContext context,
         BeanResolutionContext resolutionContext)
Return whether this component is enabled for the given context. 
 | 
boolean | 
isPresent()  | 
build, equals, getAnnotationMetadata, getBeanDefinitionName, getDeclaredQualifier, getTypeArguments, getTypeArguments, hashCode, isAbstract, isContainerType, isSingleton, loadclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitasArgument, findMethod, findPossibleMethods, getConstructor, getContainerElement, getDeclaringType, getExecutableMethods, getInjectedFields, getInjectedMethods, getName, getPostConstructMethods, getPreDestroyMethods, getRequiredComponents, getRequiredMethod, getScope, getScopeName, getTypeArguments, getTypeParameters, getTypeParameters, inject, inject, isCandidateBean, isIterable, isProvided, isProxy, resolveDynamicQualifierbooleanValue, booleanValue, booleanValue, booleanValue, classValue, classValue, classValue, classValue, classValues, classValues, classValues, classValues, doubleValue, doubleValue, doubleValue, enumValue, enumValue, enumValue, enumValue, enumValues, enumValues, enumValues, enumValues, findAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, findRepeatableAnnotation, findRepeatableAnnotation, getAnnotation, getAnnotation, getAnnotationNameByStereotype, getAnnotationNameByStereotype, getAnnotationNames, getAnnotationNamesByStereotype, getAnnotationNamesByStereotype, getAnnotationType, getAnnotationType, getAnnotationTypeByStereotype, getAnnotationTypeByStereotype, getAnnotationTypesByStereotype, getAnnotationTypesByStereotype, getAnnotationTypesByStereotype, getAnnotationValuesByType, getDeclaredAnnotation, getDeclaredAnnotation, getDeclaredAnnotationNameByStereotype, getDeclaredAnnotationNames, getDeclaredAnnotationNamesByStereotype, getDeclaredAnnotationTypeByStereotype, getDeclaredAnnotationTypeByStereotype, getDeclaredAnnotationValuesByType, getDeclaredMetadata, getDefaultValue, getDefaultValue, getDefaultValue, getDefaultValue, getDefaultValues, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValues, getValues, hasAnnotation, hasAnnotation, hasDeclaredAnnotation, hasDeclaredAnnotation, hasDeclaredStereotype, hasDeclaredStereotype, hasDeclaredStereotype, hasPropertyExpressions, hasSimpleAnnotation, hasSimpleDeclaredAnnotation, hasStereotype, hasStereotype, hasStereotype, hasStereotype, intValue, intValue, intValue, isAnnotationPresent, isDeclaredAnnotationPresent, isEmpty, isFalse, isFalse, isPresent, isPresent, isRepeatableAnnotation, isRepeatableAnnotation, isTrue, isTrue, longValue, longValue, stringValue, stringValue, stringValue, stringValue, stringValues, stringValues, stringValues, stringValues, synthesize, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByTypegetValues, hasDeclaredStereotype, isAnnotationPresent, isDeclaredAnnotationPresentbuildisConfigurationProperties, isContextScope, loadgetExposedTypes, isPrimary, requiresMethodProcessingisEnabledpublic boolean isEnabled(BeanContext context, BeanResolutionContext resolutionContext)
BeanContextConditionalisEnabled in interface BeanContextConditionalisEnabled in class AbstractProviderDefinition<BeanProvider<java.lang.Object>>context - The contextresolutionContext - The bean resolution contextpublic java.lang.Class<BeanProvider<java.lang.Object>> getBeanType()
BeanTypepublic boolean isPresent()
isPresent in interface BeanDefinitionReference<BeanProvider<java.lang.Object>>isPresent in class AbstractProviderDefinition<BeanProvider<java.lang.Object>>protected BeanProvider<java.lang.Object> buildProvider(@NonNull BeanResolutionContext resolutionContext, @NonNull BeanContext context, @NonNull Argument<java.lang.Object> argument, @Nullable Qualifier<java.lang.Object> qualifier, boolean singleton)
AbstractProviderDefinitionbuildProvider in class AbstractProviderDefinition<BeanProvider<java.lang.Object>>resolutionContext - The resolution contextcontext - The contextargument - The argumentqualifier - The qualifiersingleton - Whether the bean is a singletonprotected boolean isAllowEmptyProviders(BeanContext context)
AbstractProviderDefinitionfalse a NoSuchBeanException is thrown.isAllowEmptyProviders in class AbstractProviderDefinition<BeanProvider<java.lang.Object>>context - The contexttrue if missing providers are allowed