程序包的使用
cn.taketoday.context.annotation
程序包
说明
Annotations and supporting classes for declarative cache management.
@Condition annotations and supporting classes.Support for external configuration properties.
Java 5 annotation for asynchronous method execution.
Annotations denoting the roles of types or methods in the overall architecture
(at a conceptual, rather than implementation, level).
-
类说明Enumeration used to determine whether JDK proxy-based or AspectJ weaving-based advice should be applied.Convenient base class for
ImportSelectorimplementations that select imports based on anAdviceModevalue from an annotation (such as the@Enable*annotations).Indicates that a method produces a bean to be managed by the container.Indicates 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: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.Indicates the 'role' hint for a given bean. -
类说明Enumeration used to determine whether JDK proxy-based or AspectJ weaving-based advice should be applied.
BeanNameGeneratorimplementation for bean classes annotated with the@Componentannotation or with another annotation that is itself annotated with@Componentas a meta-annotation.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).Class representing generic injection information about an annotated field or setter method, supporting @Resource and related annotations.Declares the type filter to be used as an include filter or exclude filter.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 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:The various configuration phases where the condition could be evaluated.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.AspectJ weaving enablement options.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.Interface to be implemented by@Configurationclasses annotated with@EnableLoadTimeWeavingthat wish to customize theLoadTimeWeaverinstance to be used.Context will create a bean definition when current context were missingIndicates the 'role' hint for a given bean.Enumerates the various scoped-proxy options. -
类说明Indicates 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:A variation ofImportSelectorthat runs after all@Configurationbeans have been processed.Interface used to group results from different import selectors.Indicates one or more component classes to import — typically@Configurationclasses. -
类说明A single
conditionthat 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 EvaluationAConditionthat offers more fine-grained control when used with@Configuration.The various configuration phases where the condition could be evaluated. -
类说明Condition EvaluationThe various configuration phases where the condition could be evaluated.Interface to be implemented by types that register additional bean definitions when processing @
Configurationclasses.Enumerates the various scoped-proxy options. -
-
类说明Enumeration used to determine whether JDK proxy-based or AspectJ weaving-based advice should be applied.Convenient base class for
ImportSelectorimplementations that select imports based on anAdviceModevalue from an annotation (such as the@Enable*annotations).Indicates 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: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.Indicates the 'role' hint for a given bean. -
类说明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.