public class RecoveryInterceptor extends AbstractApplicableInterceptor
Modifier and Type | Field and Description |
---|---|
protected RequiredServiceBinding |
binding
The service binding.
|
protected IExternalAccess |
ea
The external access.
|
protected IRequiredServiceFetcher |
fetcher
The service fetcher.
|
protected RequiredServiceInfo |
info
The service info.
|
Constructor and Description |
---|
RecoveryInterceptor(IExternalAccess ea,
RequiredServiceInfo info,
RequiredServiceBinding binding,
IRequiredServiceFetcher fetcher)
Create a new invocation handler.
|
Modifier and Type | Method and Description |
---|---|
IFuture<java.lang.Void> |
execute(ServiceInvocationContext sic)
Execute the interceptor.
|
IFuture |
rebind(ServiceInvocationContext sic)
Rebind a service call by using the fetcher to find/create
another service.
|
isApplicable
protected IExternalAccess ea
protected RequiredServiceInfo info
protected RequiredServiceBinding binding
protected IRequiredServiceFetcher fetcher
public RecoveryInterceptor(IExternalAccess ea, RequiredServiceInfo info, RequiredServiceBinding binding, IRequiredServiceFetcher fetcher)
public IFuture<java.lang.Void> execute(ServiceInvocationContext sic)
context
- The invocation context.public IFuture rebind(ServiceInvocationContext sic)