程序包 cn.taketoday.context.annotation
package cn.taketoday.context.annotation
-
类说明Enumeration used to determine whether JDK proxy-based or AspectJ weaving-based advice should be applied.AdviceModeImportSelector<A extends Annotation>Convenient base class for
ImportSelectorimplementations that select imports based on anAdviceModevalue from an annotation (such as the@Enable*annotations).Convenient adapter for programmatic registration of bean classes.BeanNameGeneratorimplementation for bean classes annotated with the@Componentannotation or with another annotation that is itself annotated with@Componentas a meta-annotation.Standalone application context, accepting component classes as input — in particular@Configuration-annotated classes, but also plain@Componenttypes and JSR-330 compliant classes usingjakarta.injectannotations.Parser for the <context:annotation-config/> element.Utility class that allows for convenient registration of commonBeanPostProcessorandBeanFactoryPostProcessordefinitions for annotation-based configuration.AnnotationImportAware<A extends Annotation>AScopeMetadataResolverimplementation that by default checks for the presence of Framework's@Scopeannotation on the bean class.Registers an auto proxy creator against the currentBeanDefinitionRegistryas appropriate based on an@Enable*annotation havingmodeandproxyTargetClassattributes set to the correct values.Indicates that a method produces a bean to be managed by the container.A bean definition scanner that detects bean candidates on the classpath, registering corresponding bean definitions with a given registry (BeanFactoryorApplicationContext).BeanPostProcessorimplementation that supports common Java annotations out of the box, in particular the common annotations in thejakarta.annotationpackage.Class representing generic injection information about an annotated field or setter method, supporting @Resource and related annotations.Configures component scanning directives for use with @Configurationclasses.Declares the type filter to be used as an include filter or exclude filter.Parser for the<context:component-scan/>element.Container annotation that aggregates severalComponentScanannotations.A singleconditionthat must be matched in order for a component to be registered.Indicates that a component is only eligible for registration when all specified conditions match.for ConditionEvaluator EvaluationCondition EvaluationIndicates that a class declares one or more@Componentmethods and may be processed by the container to generate bean definitions and service requests for those beans at runtime, for example:BeanFactoryPostProcessorused for bootstrapping processing of@Configurationclasses.AConditionthat offers more fine-grained control when used with@Configuration.The various configuration phases where the condition could be evaluated.Complete implementation of theAutowireCandidateResolverstrategy interface, providing support for qualifier annotations as well as for lazy resolution driven by theLazyannotation in thecontext.annotationpackage.A variation ofImportSelectorthat runs after all@Configurationbeans have been processed.Interface used to group results from different import selectors.An entry that holds theAnnotationMetadataof the importingConfigurationclass and the class name to import.Beans on which the current bean depends.Enables support for handling components marked with AspectJ's@Aspectannotation, similar to functionality found in Framework's<aop:aspectj-autoproxy>XML element.Activates a FrameworkLoadTimeWeaverfor this application context, available as a bean with the name "loadTimeWeaver", similar to the<context:load-time-weaver>element in Framework XML.AspectJ weaving enablement options.Enables default exporting of all standardMBeans from the Framework context, as well as well all@ManagedResourceannotated beans.Enumeration of the type filters that may be used in conjunction with@ComponentScan.An extension ofAnnotationBeanNameGeneratorthat uses the fully qualified class name as the default bean name if an explicit bean name is not supplied via a supported type-level annotation such as@Component(seeAnnotationBeanNameGeneratorfor details on supported annotations).Indicates one or more component classes to import — typically@Configurationclasses.Interface to be implemented by any @Configurationclass that wishes to be injected with theBeanDefinitionof the @Configurationclass that imported it.Interface to be implemented by types that register additional bean definitions when processing @Configurationclasses.Indicates one or more resources containing bean definitions to import.SimpleScopeMetadataResolverimplementation that follows JSR-330 scoping rules: defaulting to prototype scope unlessSingletonis present.Indicates whether a bean is to be lazily initialized.@Configurationclass that registers aLoadTimeWeaverbean.Interface to be implemented by@Configurationclasses annotated with@EnableLoadTimeWeavingthat wish to customize theLoadTimeWeaverinstance to be used.@Configurationclass that registers aAnnotationMBeanExporterbean.Context will create a bean definition when current context were missingContext will create a bean definition when current context were missingNever match ConditionIndicates that a bean should be given preference when multiple candidates are qualified to autowire a single-valued dependency.Indicates that a component is eligible for registration when one or more specified profiles are active.Annotation providing a convenient and declarative mechanism for adding aPropertySourcetoEnvironment.Container annotation that aggregates severalPropertySourceannotations.Indicates the 'role' hint for a given bean.Extension of theBeanDefinitionclass, based on an ASM ClassReader, with support for annotation metadata exposed through theAnnotatedBeanDefinitioninterface.When used as a type-level annotation in conjunction with@Component,@Scopeindicates the name of a scope to use for instances of the annotated type.Enumerates the various scoped-proxy options.Collection of utilities for working with@ComponentScantype filters.