## 类的使用
org.springframework.context.annotation.Import

- 使用Import的程序包
  程序包 | 说明
  --- | ---
  org.springframework.cache.annotation | Annotations and supporting classes for declarative cache management.
  org.springframework.context.annotation | Annotation support for the Application Context, including JSR-250 "common" annotations, component-scanning, and Java-based metadata for creating Spring-managed objects.
  org.springframework.scheduling.annotation | Java 5 annotation for asynchronous method execution.

- - ### org.springframework.cache.annotation中Import的使用

    注释类型为Import的org.springframework.cache.annotation中的类
    限定符和类型 | 类和说明
    --- | ---
    `interface` | `EnableCaching` Enables Spring's annotation-driven cache management capability, similar to the support found in Spring's `<cache:*>` XML namespace.

  - ### org.springframework.context.annotation中Import的使用

    注释类型为Import的org.springframework.context.annotation中的类
    限定符和类型 | 类和说明
    --- | ---
    `interface` | `EnableAspectJAutoProxy` Enables support for handling components marked with AspectJ's `@Aspect` annotation, similar to functionality found in Spring's `<aop:aspectj-autoproxy>` XML element.
    `interface` | `EnableLoadTimeWeaving` Activates a Spring `LoadTimeWeaver` for this application context, available as a bean with the name "loadTimeWeaver", similar to the `<context:load-time-weaver>` element in Spring XML.
    `interface` | `EnableMBeanExport` Enables default exporting of all standard `MBean`s from the Spring context, as well as well all `@ManagedResource` annotated beans.

  - ### org.springframework.scheduling.annotation中Import的使用

    注释类型为Import的org.springframework.scheduling.annotation中的类
    限定符和类型 | 类和说明
    --- | ---
    `interface` | `EnableAsync` Enables Spring's asynchronous method execution capability, similar to functionality found in Spring's `<task:*>` XML namespace.
    `interface` | `EnableScheduling` Enables Spring's scheduled task execution capability, similar to functionality found in Spring's `<task:*>` XML namespace.