## 接口的使用
org.springframework.instrument.classloading.LoadTimeWeaver

- 使用LoadTimeWeaver的程序包
  程序包 | 说明
  --- | ---
  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.context.weaving | Load-time weaving support for a Spring application context, building on Spring's `LoadTimeWeaver` abstraction.
  org.springframework.instrument.classloading | Support package for load time weaving based on class loaders, as required by JPA providers (but not JPA-specific).
  org.springframework.instrument.classloading.glassfish | Support for class instrumentation on GlassFish.
  org.springframework.instrument.classloading.jboss | Support for class instrumentation on JBoss AS 6 and 7.
  org.springframework.instrument.classloading.tomcat | Support for class instrumentation on Tomcat.
  org.springframework.instrument.classloading.weblogic | Support for class instrumentation on BEA WebLogic 10+.
  org.springframework.instrument.classloading.websphere | Support for class instrumentation on IBM WebSphere Application Server 7+.

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

    返回LoadTimeWeaver的org.springframework.context.annotation中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `LoadTimeWeaver` | LoadTimeWeavingConfigurer.`getLoadTimeWeaver()` Create, configure and return the `LoadTimeWeaver` instance to be used.
    `LoadTimeWeaver` | LoadTimeWeavingConfiguration.`loadTimeWeaver()`

  - ### org.springframework.context.weaving中LoadTimeWeaver的使用

    实现LoadTimeWeaver的org.springframework.context.weaving中的类
    限定符和类型 | 类和说明
    --- | ---
    `class` | `DefaultContextLoadTimeWeaver` Default `LoadTimeWeaver` bean for use in an application context, decorating an automatically detected internal `LoadTimeWeaver`.

    返回LoadTimeWeaver的org.springframework.context.weaving中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `protected LoadTimeWeaver` | DefaultContextLoadTimeWeaver.`createServerSpecificLoadTimeWeaver(ClassLoader classLoader)`

    参数类型为LoadTimeWeaver的org.springframework.context.weaving中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `static void` | AspectJWeavingEnabler.`enableAspectJWeaving(LoadTimeWeaver weaverToUse, ClassLoader beanClassLoader)` Enable AspectJ weaving with the given `LoadTimeWeaver`.
    `void` | AspectJWeavingEnabler.`setLoadTimeWeaver(LoadTimeWeaver loadTimeWeaver)`
    `void` | LoadTimeWeaverAware.`setLoadTimeWeaver(LoadTimeWeaver loadTimeWeaver)` Set the `LoadTimeWeaver` of this object's containing `ApplicationContext`.

    参数类型为LoadTimeWeaver的org.springframework.context.weaving中的构造器
    构造器和说明
    `LoadTimeWeaverAwareProcessor(LoadTimeWeaver loadTimeWeaver)` Create a new `LoadTimeWeaverAwareProcessor` for the given `LoadTimeWeaver`.

  - ### org.springframework.instrument.classloading中LoadTimeWeaver的使用

    实现LoadTimeWeaver的org.springframework.instrument.classloading中的类
    限定符和类型 | 类和说明
    --- | ---
    `class` | `InstrumentationLoadTimeWeaver` `LoadTimeWeaver` relying on VM `Instrumentation`.
    `class` | `ReflectiveLoadTimeWeaver` `LoadTimeWeaver` which uses reflection to delegate to an underlying ClassLoader with well-known transformation hooks.
    `class` | `SimpleLoadTimeWeaver` `LoadTimeWeaver` that builds and exposes a `SimpleInstrumentableClassLoader`.

  - ### org.springframework.instrument.classloading.glassfish中LoadTimeWeaver的使用

    实现LoadTimeWeaver的org.springframework.instrument.classloading.glassfish中的类
    限定符和类型 | 类和说明
    --- | ---
    `class` | `GlassFishLoadTimeWeaver` `LoadTimeWeaver` implementation for GlassFish's `org.glassfish.api.deployment.InstrumentableClassLoader InstrumentableClassLoader`.

  - ### org.springframework.instrument.classloading.jboss中LoadTimeWeaver的使用

    实现LoadTimeWeaver的org.springframework.instrument.classloading.jboss中的类
    限定符和类型 | 类和说明
    --- | ---
    `class` | `JBossLoadTimeWeaver` `LoadTimeWeaver` implementation for JBoss's instrumentable ClassLoader.

  - ### org.springframework.instrument.classloading.tomcat中LoadTimeWeaver的使用

    实现LoadTimeWeaver的org.springframework.instrument.classloading.tomcat中的类
    限定符和类型 | 类和说明
    --- | ---
    `class` | `TomcatLoadTimeWeaver` `LoadTimeWeaver` implementation for Tomcat's new `org.apache.tomcat.InstrumentableClassLoader`.

  - ### org.springframework.instrument.classloading.weblogic中LoadTimeWeaver的使用

    实现LoadTimeWeaver的org.springframework.instrument.classloading.weblogic中的类
    限定符和类型 | 类和说明
    --- | ---
    `class` | `WebLogicLoadTimeWeaver` `LoadTimeWeaver` implementation for WebLogic's instrumentable ClassLoader.

  - ### org.springframework.instrument.classloading.websphere中LoadTimeWeaver的使用

    实现LoadTimeWeaver的org.springframework.instrument.classloading.websphere中的类
    限定符和类型 | 类和说明
    --- | ---
    `class` | `WebSphereLoadTimeWeaver` `LoadTimeWeaver` implementation for WebSphere's instrumentable ClassLoader.