T - The generic type@Internal public final class ApplicationEventPublisherFactory<T> extends Object implements BeanDefinition<ApplicationEventPublisher<T>>, BeanFactory<ApplicationEventPublisher<T>>, BeanDefinitionReference<ApplicationEventPublisher<T>>
ApplicationEventPublisher.NAMED_ATTRIBUTECLASS_NAME_SUFFIX, EMPTY_METADATA, VALUE_MEMBEREMPTY| Constructor and Description |
|---|
ApplicationEventPublisherFactory() |
| Modifier and Type | Method and Description |
|---|---|
ApplicationEventPublisher<T> |
build(BeanResolutionContext resolutionContext,
BeanContext context,
BeanDefinition<ApplicationEventPublisher<T>> definition)
Builds a bean instance.
|
boolean |
equals(Object o) |
AnnotationMetadata |
getAnnotationMetadata()
Supplies the metadata.
|
String |
getBeanDefinitionName() |
Class<ApplicationEventPublisher<T>> |
getBeanType()
Returns the bean type.
|
List<Argument<?>> |
getTypeArguments()
If the bean itself declares any type arguments this method will return the classes that represent those types.
|
List<Argument<?>> |
getTypeArguments(Class<?> type)
Return the type arguments for the given interface or super type for this bean.
|
int |
hashCode() |
boolean |
isAbstract() |
boolean |
isCandidateBean(Argument<?> beanType)
Return whether this bean type is a candidate for dependency injection for the passed type.
|
boolean |
isContainerType()
Checks whether the bean type is a container type.
|
boolean |
isEnabled(BeanContext context,
BeanResolutionContext resolutionContext)
Return whether this component is enabled for the given context.
|
boolean |
isPresent() |
boolean |
isSingleton() |
BeanDefinition<ApplicationEventPublisher<T>> |
load()
Loads the bean definition.
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitasArgument, findMethod, findPossibleMethods, getConstructor, getContainerElement, getDeclaredQualifier, getDeclaringType, getExecutableMethods, getInjectedFields, getInjectedMethods, getName, getPostConstructMethods, getPreDestroyMethods, getRequiredComponents, getRequiredMethod, getScope, getScopeName, getTypeArguments, getTypeParameters, getTypeParameters, inject, inject, 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, getDeclaredAnnotationValuesByName, getValues, hasDeclaredStereotype, isAnnotationPresent, isDeclaredAnnotationPresentbuildisConfigurationProperties, isContextScope, loadgetExposedTypes, isPrimary, requiresMethodProcessingisEnabledpublic boolean isAbstract()
isAbstract in interface BeanDefinition<ApplicationEventPublisher<T>>public boolean isCandidateBean(Argument<?> beanType)
BeanTypeisCandidateBean in interface BeanDefinition<ApplicationEventPublisher<T>>isCandidateBean in interface BeanType<ApplicationEventPublisher<T>>beanType - The bean typepublic AnnotationMetadata getAnnotationMetadata()
AnnotationMetadataProviderAnnotationMetadata.EMPTY_METADATA.getAnnotationMetadata in interface AnnotationMetadataProviderAnnotationMetadatapublic boolean isContainerType()
BeanTypeisContainerType in interface BeanType<ApplicationEventPublisher<T>>Iterable.public boolean isEnabled(BeanContext context, BeanResolutionContext resolutionContext)
BeanContextConditionalisEnabled in interface BeanContextConditionalcontext - The contextresolutionContext - The bean resolution contextpublic boolean isSingleton()
isSingleton in interface BeanDefinition<ApplicationEventPublisher<T>>isSingleton in interface BeanDefinitionReference<ApplicationEventPublisher<T>>public Class<ApplicationEventPublisher<T>> getBeanType()
BeanTypegetBeanType in interface BeanDefinition<ApplicationEventPublisher<T>>getBeanType in interface BeanType<ApplicationEventPublisher<T>>public String getBeanDefinitionName()
getBeanDefinitionName in interface BeanDefinitionReference<ApplicationEventPublisher<T>>BeanDefinitionpublic BeanDefinition<ApplicationEventPublisher<T>> load()
BeanDefinitionReferenceload in interface BeanDefinitionReference<ApplicationEventPublisher<T>>public boolean isPresent()
isPresent in interface BeanDefinitionReference<ApplicationEventPublisher<T>>public ApplicationEventPublisher<T> build(BeanResolutionContext resolutionContext, BeanContext context, BeanDefinition<ApplicationEventPublisher<T>> definition) throws BeanInstantiationException
BeanFactorybuild in interface BeanFactory<ApplicationEventPublisher<T>>resolutionContext - The bean resolution contextcontext - The contextdefinition - The definitionBeanInstantiationException - if the instance could not be instantiated@NonNull public List<Argument<?>> getTypeArguments(Class<?> type)
BeanDefinitiongetTypeArguments in interface BeanDefinition<ApplicationEventPublisher<T>>type - The super class or interface type@NonNull public List<Argument<?>> getTypeArguments()
BeanDefinitiongetTypeArguments in interface BeanDefinition<ApplicationEventPublisher<T>>