public interface LoadTimeWeaverAware extends Aware
LoadTimeWeaver
の通知を希望するオブジェクトによって実装されるインターフェース。ConfigurableApplicationContext.LOAD_TIME_WEAVER_BEAN_NAME
修飾子と型 | メソッドと説明 |
---|---|
void | setLoadTimeWeaver(LoadTimeWeaver loadTimeWeaver) ApplicationContext を含むこのオブジェクトの LoadTimeWeaver を設定します。 |
void setLoadTimeWeaver(LoadTimeWeaver loadTimeWeaver)
ApplicationContext
を含むこのオブジェクトの LoadTimeWeaver
を設定します。 通常の Bean プロパティの設定後、InitializingBean's
afterPropertiesSet()
などの初期化コールバックまたはカスタム init メソッドの前に呼び出されます。ApplicationContextAware's
setApplicationContext(..)
の後に呼び出されます。
注意 : このメソッドは、アプリケーションコンテキストで実際に LoadTimeWeaver
が使用可能な場合にのみ呼び出されます。存在しない場合、実装オブジェクトがそのウィービング依存関係をそれに応じてアクティブにできると仮定すると、メソッドは呼び出されません。
loadTimeWeaver
- LoadTimeWeaver
インスタンス (非 null
)InitializingBean.afterPropertiesSet()
, ApplicationContextAware.setApplicationContext(org.springframework.context.ApplicationContext)