public class DelegationInterceptor extends AbstractMultiInterceptor
| Modifier and Type | Field and Description | 
|---|---|
| protected RequiredServiceBinding | bindingThe service binding. | 
| protected IExternalAccess | eaThe external access. | 
| protected IRequiredServiceFetcher | fetcherThe service fetcher. | 
| protected RequiredServiceInfo | infoThe service info. | 
| protected static java.util.Set<java.lang.reflect.Method> | NO_DELEGATIONThe static set of no delegation methods. | 
| protected IServiceIdentifier | sidThe service id of myself (must be excluded to avoid looped invocation of itself). | 
| protected static java.util.Map | SUBINTERCEPTORSThe static map of subinterceptors (method -> interceptor). | 
| Constructor and Description | 
|---|
| DelegationInterceptor(IInternalAccess ia,
                     RequiredServiceInfo info,
                     RequiredServiceBinding binding,
                     IRequiredServiceFetcher fetcher,
                     IServiceIdentifier sid,
                     boolean realtime)Create a new invocation handler. | 
| Modifier and Type | Method and Description | 
|---|---|
| IFuture<java.lang.Void> | doExecute(ServiceInvocationContext sic)Execute the command. | 
| IExternalAccess | getExternalAccess()Get the ea. | 
| IServiceInvocationInterceptor | getInterceptor(ServiceInvocationContext sic)Get a sub interceptor for special cases. | 
| static java.util.Map | getInterceptors()Get the standard interceptors for composite service proxies. | 
execute, isApplicableprotected static final java.util.Map SUBINTERCEPTORS
protected static final java.util.Set<java.lang.reflect.Method> NO_DELEGATION
protected IExternalAccess ea
protected RequiredServiceInfo info
protected RequiredServiceBinding binding
protected IRequiredServiceFetcher fetcher
protected IServiceIdentifier sid
public DelegationInterceptor(IInternalAccess ia, RequiredServiceInfo info, RequiredServiceBinding binding, IRequiredServiceFetcher fetcher, IServiceIdentifier sid, boolean realtime)
public IFuture<java.lang.Void> doExecute(ServiceInvocationContext sic)
doExecute in class AbstractMultiInterceptorargs - The argument(s) for the call.public IExternalAccess getExternalAccess()
public IServiceInvocationInterceptor getInterceptor(ServiceInvocationContext sic)
getInterceptor in class AbstractMultiInterceptorsic - The context.public static java.util.Map getInterceptors()