Java 类org.springframework.boot.autoconfigure.condition.ConditionalOnNotWebApplication 实例源码

项目:spring-cloud-sleuth    文件:TraceReactorAutoConfiguration.java   
@Bean
@ConditionalOnNotWebApplication
LastOperatorWrapper spanOperator() {
    return new LastOperatorWrapper() {
        @Override public void wrapLastOperator(Tracer tracer) {
            Hooks.onLastOperator(ReactorSleuth.spanOperator(tracer));
        }
    };
}