org.springframework.context.weaving

## 接口 LoadTimeWeaverAware

- 所有超级接口:
    org.springframework.beans.factory.Aware
  所有已知实现类:
    AspectJWeavingEnabler

      public interface LoadTimeWeaverAware
      extends org.springframework.beans.factory.Aware

  Interface to be implemented by any object that wishes to be notified of the application context's default `LoadTimeWeaver`.
  从以下版本开始:
    2.5
  作者:
    Juergen Hoeller, Chris Beams
  另请参阅:
    `ConfigurableApplicationContext.LOAD_TIME_WEAVER_BEAN_NAME`

- - ### 方法概要

    所有方法 实例方法 抽象方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | `setLoadTimeWeaver(LoadTimeWeaver loadTimeWeaver)` Set the `LoadTimeWeaver` of this object's containing `ApplicationContext`.

- - ### 方法详细资料

    - #### setLoadTimeWeaver

          void setLoadTimeWeaver(LoadTimeWeaver loadTimeWeaver)

      Set the `LoadTimeWeaver` of this object's containing `ApplicationContext`.

      Invoked after the population of normal bean properties but before an initialization callback like `InitializingBean's` `afterPropertiesSet()` or a custom init-method. Invoked after `ApplicationContextAware's` `setApplicationContext(..)`.

      NOTE: This method will only be called if there actually is a `LoadTimeWeaver` available in the application context. If there is none, the method will simply not get invoked, assuming that the implementing object is able to activate its weaving dependency accordingly.

      参数:
        `loadTimeWeaver` - the `LoadTimeWeaver` instance (never `null`)
      另请参阅:
        `InitializingBean.afterPropertiesSet()`, `ApplicationContextAware.setApplicationContext(org.springframework.context.ApplicationContext)`