Interface RequestExecutor<RequestT extends Request<RequestT,RequestResultT>,RequestResultT extends RequestResult<RequestT,RequestResultT>>
- Type Parameters:
RequestT
- The generic request type.RequestResultT
- The generic request result type.
- All Known Implementing Classes:
RemoteFunctionRequestExecutor
@Deprecated
public interface RequestExecutor<RequestT extends Request<RequestT,RequestResultT>,RequestResultT extends RequestResult<RequestT,RequestResultT>>
Deprecated.
This module will be discontinued, along with its classes and methods.
Common interface for execution of different types of queries.
-
Method Summary
Modifier and TypeMethodDescriptionexecute
(Destination destination, RequestT request) Deprecated.Executes a request against an SAP S/4HANA system.
-
Method Details
-
execute
@Nonnull RequestResultT execute(@Nonnull Destination destination, @Nonnull RequestT request) throws RequestSerializationException, RequestExecutionException, DestinationNotFoundException, DestinationAccessException Deprecated.Executes a request against an SAP S/4HANA system.- Parameters:
destination
- TheDestination
to be used for execution.request
- The subclass ofRequest
to execute.- Returns:
- The executed request result.
- Throws:
RequestSerializationException
- If there is an issue while serializing the request.RequestExecutionException
- If there is an issue while executing the request.DestinationNotFoundException
- If no destination with the name can be found.DestinationAccessException
- If there is an issue while accessing destination information.
-