Class TracingInterceptor
- java.lang.Object
-
- jadex.bridge.service.component.interceptors.AbstractApplicableInterceptor
-
- jadex.bridge.service.component.interceptors.ComponentThreadInterceptor
-
- jadex.bridge.service.component.interceptors.TracingInterceptor
-
- All Implemented Interfaces:
IServiceInvocationInterceptor
public class TracingInterceptor extends ComponentThreadInterceptor
Interceptor that creates traces.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected class
TracingInterceptor.ReturnValueResultListener
Listener that handles the end of the call.
-
Field Summary
-
Fields inherited from class jadex.bridge.service.component.interceptors.ComponentThreadInterceptor
ia
-
-
Constructor Summary
Constructors Constructor Description TracingInterceptor(IInternalAccess component)
Create a new interceptor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IFuture<java.lang.Void>
execute(ServiceInvocationContext sic)
Execute the interceptor.boolean
isApplicable(ServiceInvocationContext context)
Test if the interceptor is applicable.-
Methods inherited from class jadex.bridge.service.component.interceptors.ComponentThreadInterceptor
getComponent
-
-
-
-
Constructor Detail
-
TracingInterceptor
public TracingInterceptor(IInternalAccess component)
Create a new interceptor.
-
-
Method Detail
-
isApplicable
public boolean isApplicable(ServiceInvocationContext context)
Test if the interceptor is applicable.- Specified by:
isApplicable
in interfaceIServiceInvocationInterceptor
- Overrides:
isApplicable
in classComponentThreadInterceptor
- Returns:
- True, if applicable.
-
execute
public IFuture<java.lang.Void> execute(ServiceInvocationContext sic)
Execute the interceptor.- Parameters:
context
- The invocation context.
-
-