Class BDIReasoningInterceptor
- java.lang.Object
-
- jadex.bdi.testcases.semiautomatic.BDIReasoningInterceptor
-
- All Implemented Interfaces:
IServiceInvocationInterceptor
public class BDIReasoningInterceptor extends java.lang.Object implements IServiceInvocationInterceptor
Service call interceptor that starts BDI reasoning.
-
-
Field Summary
Fields Modifier and Type Field Description protected IInternalAccess
ia
The internal access.
-
Constructor Summary
Constructors Constructor Description BDIReasoningInterceptor(IInternalAccess ia)
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.
-
-
-
Field Detail
-
ia
protected IInternalAccess ia
The internal access.
-
-
Constructor Detail
-
BDIReasoningInterceptor
public BDIReasoningInterceptor(IInternalAccess ia)
Create a new interceptor.
-
-
Method Detail
-
isApplicable
public boolean isApplicable(ServiceInvocationContext context)
Test if the interceptor is applicable.- Specified by:
isApplicable
in interfaceIServiceInvocationInterceptor
- Returns:
- True, if applicable.
-
execute
public IFuture<java.lang.Void> execute(ServiceInvocationContext sic)
Execute the interceptor.- Specified by:
execute
in interfaceIServiceInvocationInterceptor
- Parameters:
context
- The invocation context.
-
-