public abstract class AbstractOpenTracingInterceptor extends AbstractOpenTracingProvider implements PhaseInterceptor<Message>
AbstractTracingProvider.TraceScopeHolder<T>
LOG, TRACE_SPAN, tracer
Modifier | Constructor and Description |
---|---|
protected |
AbstractOpenTracingInterceptor(String phase,
io.opentracing.Tracer tracer) |
Modifier and Type | Method and Description |
---|---|
Collection<PhaseInterceptor<? extends Message>> |
getAdditionalInterceptors()
Returns a collection of Interceptors that should be added to the chain
whenever this interceptor is added.
|
Set<String> |
getAfter()
Returns a set containing the IDs of the interceptors that should be
executed before this interceptor.
|
Set<String> |
getBefore()
Returns a set containing the IDs of the interceptors that should be
executed after this interceptor.
|
String |
getId()
Returns the ID of this interceptor.
|
String |
getPhase()
Returns the phase in which this interceptor is excecuted.
|
void |
handleFault(Message message)
Called for all interceptors (in reverse order) on which handleMessage
had been successfully invoked, when normal execution of the chain was
aborted for some reason.
|
isAsyncResponse, startTraceSpan, stopTraceSpan
buildSpanDescription, getSpanIdHeader, getUri
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
handleMessage
protected AbstractOpenTracingInterceptor(String phase, io.opentracing.Tracer tracer)
public Set<String> getAfter()
PhaseInterceptor
getAfter
in interface PhaseInterceptor<Message>
public Set<String> getBefore()
PhaseInterceptor
getBefore
in interface PhaseInterceptor<Message>
public String getId()
PhaseInterceptor
getId
in interface PhaseInterceptor<Message>
public String getPhase()
PhaseInterceptor
getPhase
in interface PhaseInterceptor<Message>
public Collection<PhaseInterceptor<? extends Message>> getAdditionalInterceptors()
PhaseInterceptor
getAdditionalInterceptors
in interface PhaseInterceptor<Message>
public void handleFault(Message message)
Interceptor
handleFault
in interface Interceptor<Message>
Apache CXF