@Internal
public final class ObjectProviderBeanDefinition
extends io.micronaut.inject.provider.AbstractProviderDefinition<org.springframework.beans.factory.ObjectProvider<java.lang.Object>>
| Constructor and Description |
|---|
ObjectProviderBeanDefinition() |
| Modifier and Type | Method and Description |
|---|---|
protected org.springframework.beans.factory.ObjectProvider<java.lang.Object> |
buildProvider(io.micronaut.context.BeanResolutionContext resolutionContext,
io.micronaut.context.BeanContext context,
io.micronaut.core.type.Argument<java.lang.Object> argument,
io.micronaut.context.Qualifier<java.lang.Object> qualifier,
boolean singleton) |
java.lang.Class<org.springframework.beans.factory.ObjectProvider<java.lang.Object>> |
getBeanType() |
protected boolean |
isAllowEmptyProviders(io.micronaut.context.BeanContext context) |
boolean |
isEnabled(io.micronaut.context.BeanContext context,
io.micronaut.context.BeanResolutionContext resolutionContext) |
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, getDeclaredStereotypeAnnotationNames, getDefaultValue, getDefaultValue, getDefaultValue, getDefaultValue, getDefaultValues, getStereotypeAnnotationNames, 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, synthesizeDeclaredAnnotationsByTypegetAnnotationValuesByName, getAnnotationValuesByStereotype, getDeclaredAnnotationValuesByName, getValues, hasDeclaredStereotype, isAnnotationPresent, isDeclaredAnnotationPresentisConfigurationProperties, isContextScope, loadpublic boolean isEnabled(io.micronaut.context.BeanContext context,
io.micronaut.context.BeanResolutionContext resolutionContext)
isEnabled in interface io.micronaut.inject.BeanContextConditionalisEnabled in class io.micronaut.inject.provider.AbstractProviderDefinition<org.springframework.beans.factory.ObjectProvider<java.lang.Object>>public java.lang.Class<org.springframework.beans.factory.ObjectProvider<java.lang.Object>> getBeanType()
public boolean isPresent()
isPresent in interface io.micronaut.inject.BeanDefinitionReference<org.springframework.beans.factory.ObjectProvider<java.lang.Object>>isPresent in class io.micronaut.inject.provider.AbstractProviderDefinition<org.springframework.beans.factory.ObjectProvider<java.lang.Object>>protected org.springframework.beans.factory.ObjectProvider<java.lang.Object> buildProvider(@NonNull
io.micronaut.context.BeanResolutionContext resolutionContext,
@NonNull
io.micronaut.context.BeanContext context,
@NonNull
io.micronaut.core.type.Argument<java.lang.Object> argument,
@Nullable
io.micronaut.context.Qualifier<java.lang.Object> qualifier,
boolean singleton)
buildProvider in class io.micronaut.inject.provider.AbstractProviderDefinition<org.springframework.beans.factory.ObjectProvider<java.lang.Object>>protected boolean isAllowEmptyProviders(io.micronaut.context.BeanContext context)
isAllowEmptyProviders in class io.micronaut.inject.provider.AbstractProviderDefinition<org.springframework.beans.factory.ObjectProvider<java.lang.Object>>