T - The bean type@Internal public abstract class AbstractInitializableBeanDefinitionReference<T> extends Object implements BeanDefinitionReference<T>
EMPTY| Constructor and Description | 
|---|
| AbstractInitializableBeanDefinitionReference(String beanTypeName,
                                            String beanDefinitionTypeName,
                                            AnnotationMetadata annotationMetadata,
                                            boolean isPrimary,
                                            boolean isContextScope,
                                            boolean isConditional,
                                            boolean isContainerType,
                                            boolean isSingleton,
                                            boolean isConfigurationProperties,
                                            boolean hasExposedTypes,
                                            boolean requiresMethodProcessing) | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object o) | 
| AnnotationMetadata | getAnnotationMetadata()Supplies the metadata. | 
| String | getBeanDefinitionName() | 
| protected abstract Class<? extends BeanDefinition<?>> | getBeanDefinitionType()Implementors should provide an implementation of this method that returns the bean definition type. | 
| Set<Class<?>> | getExposedTypes()Returns a potentially limited subset of bean types exposed by this bean. | 
| String | getName() | 
| int | hashCode() | 
| boolean | isConfigurationProperties() | 
| boolean | isContainerType()Checks whether the bean type is a container type. | 
| boolean | isContextScope() | 
| boolean | isEnabled(BeanContext context)Return whether this component is enabled for the given context. | 
| boolean | isEnabled(BeanContext context,
         BeanResolutionContext resolutionContext)Return whether this component is enabled for the given context. | 
| boolean | isPresent() | 
| boolean | isPrimary() | 
| boolean | isSingleton() | 
| BeanDefinition | load(BeanContext context)Loads the bean definition for the current  BeanContext. | 
| boolean | requiresMethodProcessing()By default, when the  BeanContextis started, theBeanDefinition.getExecutableMethods()are not processed by registeredExecutableMethodProcessorinstances unless this method returns true. | 
| String | toString() | 
clone, finalize, getClass, notify, notifyAll, wait, wait, waitloadgetBeanType, isCandidateBeanfindAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByTypegetAnnotation, getAnnotation, getDeclaredAnnotation, getDeclaredAnnotation, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeDeclaredpublic AbstractInitializableBeanDefinitionReference(String beanTypeName, String beanDefinitionTypeName, AnnotationMetadata annotationMetadata, boolean isPrimary, boolean isContextScope, boolean isConditional, boolean isContainerType, boolean isSingleton, boolean isConfigurationProperties, boolean hasExposedTypes, boolean requiresMethodProcessing)
beanTypeName - The bean type namebeanDefinitionTypeName - The bean definition type nameannotationMetadata - The annotationMetadataisPrimary - Is primary bean?isContextScope - Is context scope?isConditional - Is conditional? = No @RequiresisContainerType - Is container type?isSingleton - Is singleton?isConfigurationProperties - Is configuration properties?hasExposedTypes - Has exposed types?requiresMethodProcessing - Is requires method processing?public String getName()
public String getBeanDefinitionName()
getBeanDefinitionName in interface BeanDefinitionReference<T>BeanDefinitionpublic AnnotationMetadata getAnnotationMetadata()
AnnotationMetadataProviderAnnotationMetadata.EMPTY_METADATA.getAnnotationMetadata in interface AnnotationMetadataProviderAnnotationMetadatapublic boolean isPrimary()
public boolean isSingleton()
isSingleton in interface BeanDefinitionReference<T>public boolean isConfigurationProperties()
isConfigurationProperties in interface BeanDefinitionReference<T>public boolean isContainerType()
BeanTypeisContainerType in interface BeanType<T>Iterable.public boolean isContextScope()
isContextScope in interface BeanDefinitionReference<T>public boolean requiresMethodProcessing()
BeanTypeBeanContext is started, the
 BeanDefinition.getExecutableMethods() are not processed by registered
 ExecutableMethodProcessor instances unless this method returns true.requiresMethodProcessing in interface BeanType<T>Executable.processOnStartup()@NonNull public final Set<Class<?>> getExposedTypes()
BeanTypeType annotation.getExposedTypes in interface BeanType<T>public BeanDefinition load(BeanContext context)
BeanDefinitionReferenceBeanContext.load in interface BeanDefinitionReference<T>context - The bean contextpublic boolean isPresent()
isPresent in interface BeanDefinitionReference<T>public boolean isEnabled(BeanContext context)
BeanContextConditionalisEnabled in interface BeanContextConditionalcontext - The contextpublic boolean isEnabled(BeanContext context, BeanResolutionContext resolutionContext)
BeanContextConditionalisEnabled in interface BeanContextConditionalcontext - The contextresolutionContext - The bean resolution contextprotected abstract Class<? extends BeanDefinition<?>> getBeanDefinitionType()