com.sap.conn.jco.server
Interface JCoServerFunctionHandler
public interface JCoServerFunctionHandler
Interface for the function handler.
Function handler that needs to be implemented by the server application.
It will be invoked when dispatching a remote call that fits to the implementation
as decided by the JCoFunctionHandlerFactory
.
handleRequest
void handleRequest(JCoServerContext serverCtx,
JCoFunction function)
throws AbapException,
AbapClassException
- The method invoked by the JCo server runtime to dispatch the remote function call.
If the application will throw a RuntimeException, it will handled as SYSTEM_FAILURE.
An
AbapException
or AbapClassException
should be used for
signalling exceptional cases within the function module's application logic.
- Parameters:
serverCtx
- context description in which the function was invokedfunction
- function instance containing call content
- Throws:
AbapException
- may be thrown by the implementation to inform the caller
system about an exceptional situation within the application logic.
AbapClassException
- may be thrown by the implementation to inform the caller
system about an exceptional situation within the application logic. This kind
of exception only makes sense if the calling system supports it, which is
at earliest possible for an ABAP system of release 7.20
Copyright © 2008-2014 SAP AG. All Rights Reserved.