public static interface SystemAccessor.Internal
Modifier and Type | Method and Description |
---|---|
Payload |
call(Payload payload,
String operationName,
String operationNamespace,
String senderService)
Executes a communication call.
|
void |
close()
Closes this accessor and releases any resources associated with the
accessor.
|
Serializable |
execute(Payload payload,
String operationName,
String operationNamespace,
String senderService)
Executes a communication call for specific adapters and returns an
adapter specific serializable object.
|
Payload call(Payload payload, String operationName, String operationNamespace, String senderService) throws LookupException
payload
- input payload.operationName
- the operation name that describes the payload; optional
parameter; same adapters require this parameter for
example the RFC adapteroperationNamespace
- the namespace of the operation; optional parameter; same
adapters require this parameter for example the RFC
adaptersenderService
- communication component, needed for monitoring.LookupException
- if an error occurs.NullPointerException
- if payload
of senderService
is null
.Serializable execute(Payload payload, String operationName, String operationNamespace, String senderService) throws LookupException
This method can only be used for adapters which have a special contract with the request payload. If the request payload contains information, that the result object should be a specific serializable object, the adapter returns instead of a normal payload such an object.
payload
- input payload, type depends on the specific adapteroperationName
- the operation name that describes the payload; whether
this parameter must be set depends on the adapter; for
example, for the RFC adapter this parameter must be set.operationNamespace
- the namespace of the operation; whether this parameter
must be set, depends on the adapter.senderService
- communication componentLookupException
- if an error occurs.NullPointerException
- if payload
of senderService
or accessorType
is null
.void close() throws LookupException
LookupException
- if an error occurs.Access Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] SAP_XIAF
|
[sap.com] com.sap.aii.mapping.lib.facade
|
api
|
BC-XI
|
Copyright 2019 SAP AG Complete Copyright Notice