com.sap.aii.mapping.lookup

Interface SystemAccessor.Internal

Enclosing class:
SystemAccessor

public static interface SystemAccessor.Internal

Internal system accessor. This interface is used by XI internally as system accessor. Do not use this interface.


Method Summary
 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.
 

Method Detail

call

Payload call(Payload payload,
             String operationName,
             String operationNamespace,
             String senderService)
             throws LookupException
Executes a communication call.

Parameters:
payload - input payload.
operationName - the operation name that describes the payload; optional parameter; same adapters require this parameter for example the RFC adapter
operationNamespace - the namespace of the operation; optional parameter; same adapters require this parameter for example the RFC adapter
senderService - communication component, needed for monitoring.
Returns:
payload resulting payload of the communication.
Throws:
LookupException - if an error occurs.
NullPointerException - if payload of senderService is null.

execute

Serializable execute(Payload payload,
                     String operationName,
                     String operationNamespace,
                     String senderService)
                     throws LookupException
Executes a communication call for specific adapters and returns an adapter specific serializable object.

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.

Parameters:
payload - input payload, type depends on the specific adapter
operationName - 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 component
Returns:
payload resulting payload of the communication.
Throws:
LookupException - if an error occurs.
NullPointerException - if payload of senderService or accessorType is null.

close

void close()
           throws LookupException
Closes this accessor and releases any resources associated with the accessor. Especially the returned result payload is closed. Therefore, the parsing of the payload must be done before this method is called. Invoking of the call method is not allowed after this call.

Throws:
LookupException - if an error occurs.
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] SAP_XIAF [sap.com] com.sap.aii.mapping.lib.facade api BC-XI


Copyright 2014 SAP AG Complete Copyright Notice