public class TraceFunctionAroundWrapper
extends org.springframework.cloud.function.context.catalog.FunctionAroundWrapper
implements org.springframework.context.ApplicationListener<org.springframework.cloud.context.scope.refresh.RefreshScopeRefreshedEvent>
FunctionAroundWrapper.| Constructor and Description |
|---|
TraceFunctionAroundWrapper(org.springframework.core.env.Environment environment,
Tracer tracer,
Propagator propagator,
Propagator.Setter<org.springframework.messaging.support.MessageHeaderAccessor> injector,
Propagator.Getter<org.springframework.messaging.support.MessageHeaderAccessor> extractor) |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
doApply(org.springframework.messaging.Message<byte[]> message,
org.springframework.cloud.function.context.catalog.SimpleFunctionRegistry.FunctionInvocationWrapper targetFunction) |
void |
onApplicationEvent(org.springframework.cloud.context.scope.refresh.RefreshScopeRefreshedEvent event) |
applyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitandThenpublic TraceFunctionAroundWrapper(org.springframework.core.env.Environment environment,
Tracer tracer,
Propagator propagator,
Propagator.Setter<org.springframework.messaging.support.MessageHeaderAccessor> injector,
Propagator.Getter<org.springframework.messaging.support.MessageHeaderAccessor> extractor)
protected Object doApply(org.springframework.messaging.Message<byte[]> message, org.springframework.cloud.function.context.catalog.SimpleFunctionRegistry.FunctionInvocationWrapper targetFunction)
doApply in class org.springframework.cloud.function.context.catalog.FunctionAroundWrapperpublic void onApplicationEvent(org.springframework.cloud.context.scope.refresh.RefreshScopeRefreshedEvent event)
onApplicationEvent in interface org.springframework.context.ApplicationListener<org.springframework.cloud.context.scope.refresh.RefreshScopeRefreshedEvent>Copyright © 2021 Pivotal Software, Inc.. All rights reserved.