Class TracingInterceptor.ReturnValueResultListener
- java.lang.Object
-
- jadex.commons.future.DelegationResultListener<java.lang.Void>
-
- jadex.bridge.service.component.interceptors.TracingInterceptor.ReturnValueResultListener
-
- All Implemented Interfaces:
IFunctionalExceptionListener
,IFunctionalResultListener<java.lang.Void>
,IFutureCommandResultListener<java.lang.Void>
,IResultListener<java.lang.Void>
,IUndoneResultListener<java.lang.Void>
- Enclosing class:
- TracingInterceptor
protected class TracingInterceptor.ReturnValueResultListener extends DelegationResultListener<java.lang.Void>
Listener that handles the end of the call.
-
-
Field Summary
Fields Modifier and Type Field Description protected io.opentracing.Scope
scope
protected ServiceInvocationContext
sic
The service invocation context.protected io.opentracing.Span
span
The span.-
Fields inherited from class jadex.commons.future.DelegationResultListener
customResultListener, future, undone
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ReturnValueResultListener(Future<java.lang.Void> future, ServiceInvocationContext sic, io.opentracing.Span span, io.opentracing.Scope scope)
Create a result listener.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
customResultAvailable(java.lang.Void result)
Called when the service call is finished.-
Methods inherited from class jadex.commons.future.DelegationResultListener
commandAvailable, exceptionOccurred, exceptionOccurredIfUndone, isUndone, resultAvailable, resultAvailableIfUndone
-
-
-
-
Field Detail
-
sic
protected ServiceInvocationContext sic
The service invocation context.
-
span
protected io.opentracing.Span span
The span.
-
scope
protected io.opentracing.Scope scope
-
-
Constructor Detail
-
ReturnValueResultListener
protected ReturnValueResultListener(Future<java.lang.Void> future, ServiceInvocationContext sic, io.opentracing.Span span, io.opentracing.Scope scope)
Create a result listener.
-
-
Method Detail
-
customResultAvailable
public void customResultAvailable(java.lang.Void result)
Called when the service call is finished.- Overrides:
customResultAvailable
in classDelegationResultListener<java.lang.Void>
- Parameters:
result
- The result.
-
-