Class ValidationInterceptor
- java.lang.Object
 - 
- jadex.bridge.service.component.interceptors.AbstractApplicableInterceptor
 - 
- jadex.bridge.service.component.interceptors.ComponentThreadInterceptor
 - 
- jadex.bridge.service.component.interceptors.ValidationInterceptor
 
 
 
 
- 
- All Implemented Interfaces:
 IServiceInvocationInterceptor
public class ValidationInterceptor extends ComponentThreadInterceptor
The validation interceptor tests whether a service call is valid. Calls isValid() on IService to check if service call is allowed. 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected static java.util.SetALWAYSOKThe static map of subinterceptors (method -> interceptor).- 
Fields inherited from class jadex.bridge.service.component.interceptors.ComponentThreadInterceptor
ia 
 - 
 
- 
Constructor Summary
Constructors Constructor Description ValidationInterceptor(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.- 
Methods inherited from class jadex.bridge.service.component.interceptors.ComponentThreadInterceptor
getComponent, isApplicable 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
ValidationInterceptor
public ValidationInterceptor(IInternalAccess component)
Create a new interceptor. 
 - 
 
- 
Method Detail
- 
execute
public IFuture<java.lang.Void> execute(ServiceInvocationContext sic)
Execute the interceptor.- Parameters:
 context- The invocation context.
 
 - 
 
 -