Class PrePostConditionInterceptor.CheckReturnValueResultListener
- java.lang.Object
-
- jadex.commons.future.DelegationResultListener<java.lang.Void>
-
- jadex.bridge.service.component.interceptors.PrePostConditionInterceptor.CheckReturnValueResultListener
-
- All Implemented Interfaces:
IFunctionalExceptionListener
,IFunctionalResultListener<java.lang.Void>
,IFutureCommandResultListener<java.lang.Void>
,IResultListener<java.lang.Void>
,IUndoneResultListener<java.lang.Void>
- Enclosing class:
- PrePostConditionInterceptor
protected class PrePostConditionInterceptor.CheckReturnValueResultListener extends DelegationResultListener<java.lang.Void>
Check return value, when service call is finished.
-
-
Field Summary
Fields Modifier and Type Field Description protected ServiceInvocationContext
sic
The service invocation context.-
Fields inherited from class jadex.commons.future.DelegationResultListener
customResultListener, future, undone
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CheckReturnValueResultListener(Future<java.lang.Void> future, ServiceInvocationContext sic)
Create a result listener.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
customResultAvailable(java.lang.Void result)
Called when the service call is finished.-
Methods inherited from class jadex.commons.future.DelegationResultListener
commandAvailable, exceptionOccurred, exceptionOccurredIfUndone, isUndone, resultAvailable, resultAvailableIfUndone
-
-
-
-
Field Detail
-
sic
protected ServiceInvocationContext sic
The service invocation context.
-
-
Constructor Detail
-
CheckReturnValueResultListener
protected CheckReturnValueResultListener(Future<java.lang.Void> future, ServiceInvocationContext sic)
Create a result listener.
-
-
Method Detail
-
customResultAvailable
public void customResultAvailable(java.lang.Void result)
Called when the service call is finished.- Overrides:
customResultAvailable
in classDelegationResultListener<java.lang.Void>
- Parameters:
result
- The result.
-
-