Class ComponentThreadInterceptor
java.lang.Object
jadex.providedservice.impl.service.interceptors.AbstractApplicableInterceptor
jadex.providedservice.impl.service.interceptors.ComponentThreadInterceptor
- All Implemented Interfaces:
IServiceInvocationInterceptor
- Direct Known Subclasses:
AbstractLRUApplicableInterceptor
Ensures that interceptor is only called when component thread is in the chain.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionComponentThreadInterceptor(jadex.core.impl.Component ia) Create a new ComponentThreadInterceptor. -
Method Summary
Modifier and TypeMethodDescriptionjadex.core.impl.ComponentGet the component.booleanisApplicable(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, waitMethods inherited from interface jadex.providedservice.impl.service.IServiceInvocationInterceptor
execute
-
Field Details
-
ia
protected jadex.core.impl.Component iaThe internal access.
-
-
Constructor Details
-
ComponentThreadInterceptor
public ComponentThreadInterceptor(jadex.core.impl.Component ia) Create a new ComponentThreadInterceptor.
-
-
Method Details
-
isApplicable
Test if the interceptor is applicable.- Specified by:
isApplicablein interfaceIServiceInvocationInterceptor- Overrides:
isApplicablein classAbstractApplicableInterceptor- Returns:
- True, if applicable.
-
getComponent
public jadex.core.impl.Component getComponent()Get the component.
-