Class AbstractMultiInterceptor
- java.lang.Object
- 
- jadex.bridge.service.component.interceptors.AbstractMultiInterceptor
 
- 
- All Implemented Interfaces:
- IServiceInvocationInterceptor
 - Direct Known Subclasses:
- DecouplingInterceptor
 
 public abstract class AbstractMultiInterceptor extends java.lang.Object implements IServiceInvocationInterceptor Abstract interceptor that supports sub interceptors for special cases. It will perform a lookup for a special case interceptor via its method name.
- 
- 
Constructor SummaryConstructors Constructor Description AbstractMultiInterceptor()
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract IFuture<java.lang.Void>doExecute(ServiceInvocationContext sic)Execute the command.IFuture<java.lang.Void>execute(ServiceInvocationContext sic)Execute the command.IServiceInvocationInterceptorgetInterceptor(ServiceInvocationContext sic)Get a sub interceptor for special cases.booleanisApplicable(ServiceInvocationContext context)Test if the interceptor is applicable.
 
- 
- 
- 
Method Detail- 
executepublic IFuture<java.lang.Void> execute(ServiceInvocationContext sic) Execute the command.- Specified by:
- executein interface- IServiceInvocationInterceptor
- Parameters:
- args- The argument(s) for the call.
- Returns:
- The result of the command.
 
 - 
isApplicablepublic boolean isApplicable(ServiceInvocationContext context) Test if the interceptor is applicable.- Specified by:
- isApplicablein interface- IServiceInvocationInterceptor
- Returns:
- True, if applicable.
 
 - 
doExecutepublic abstract IFuture<java.lang.Void> doExecute(ServiceInvocationContext sic) Execute the command.- Parameters:
- args- The argument(s) for the call.
- Returns:
- The result of the command.
 
 - 
getInterceptorpublic IServiceInvocationInterceptor getInterceptor(ServiceInvocationContext sic) Get a sub interceptor for special cases.- Parameters:
- sic- The context.
- Returns:
- The interceptor (if any).
 
 
- 
 
-