Class ComponentThreadInterceptor
- java.lang.Object
-
- jadex.bridge.service.component.interceptors.AbstractApplicableInterceptor
-
- jadex.bridge.service.component.interceptors.ComponentThreadInterceptor
-
- All Implemented Interfaces:
IServiceInvocationInterceptor
- Direct Known Subclasses:
AbstractLRUApplicableInterceptor
,MethodCallListenerInterceptor
,NFRequiredServicePropertyProviderInterceptor
,TracingInterceptor
,ValidationInterceptor
public abstract class ComponentThreadInterceptor extends AbstractApplicableInterceptor
Ensures that interceptor is only called when component thread is in the chain.
-
-
Field Summary
Fields Modifier and Type Field Description protected IInternalAccess
ia
The internal access.
-
Constructor Summary
Constructors Constructor Description ComponentThreadInterceptor(IInternalAccess ia)
Create a new ComponentThreadInterceptor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IInternalAccess
getComponent()
Get the component.boolean
isApplicable(ServiceInvocationContext context)
Test if the interceptor is applicable.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jadex.bridge.service.component.IServiceInvocationInterceptor
execute
-
-
-
-
Field Detail
-
ia
protected IInternalAccess ia
The internal access.
-
-
Constructor Detail
-
ComponentThreadInterceptor
public ComponentThreadInterceptor(IInternalAccess ia)
Create a new ComponentThreadInterceptor.
-
-
Method Detail
-
isApplicable
public boolean isApplicable(ServiceInvocationContext context)
Test if the interceptor is applicable.- Specified by:
isApplicable
in interfaceIServiceInvocationInterceptor
- Overrides:
isApplicable
in classAbstractApplicableInterceptor
- Returns:
- True, if applicable.
-
getComponent
public IInternalAccess getComponent()
Get the component.
-
-