接口 LoadTimeWeavingConfigurer
public interface LoadTimeWeavingConfigurer
Interface to be implemented by
@Configuration
classes annotated with @EnableLoadTimeWeaving that wish to
customize the LoadTimeWeaver instance to be used.
See @EnableAsync
for usage examples and information on how a default LoadTimeWeaver
is selected when this interface is not used.
- 从以下版本开始:
- 4.0
- 作者:
- Chris Beams
- 另请参阅:
-
方法概要
修饰符和类型方法说明Create, configure and return theLoadTimeWeaverinstance to be used.
-
方法详细资料
-
getLoadTimeWeaver
LoadTimeWeaver getLoadTimeWeaver()Create, configure and return theLoadTimeWeaverinstance to be used. Note that it is unnecessary to annotate this method with@Bean, because the object returned will automatically be registered as a bean byLoadTimeWeavingConfiguration.loadTimeWeaver()
-