|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JCoServerFunctionHandlerFactory
Factory for creating function handlers for a server instance.
Applications/runtime environments must register a handler factory instance at a JCo server which enables it to create call handler instances for incoming remote function calls. On each incoming remote function call, the JCo server runtime invokes the method getCallHandler to get a fitting call handler instance, which will then handle the current incoming call.
This call handler factory creates function handlers. If an environment is going to use the
request-response model, i.e. by using request handlers, it has to implement and register a
JCoServerRequestHandlerFactory
instead.
Note: Simple applications or applications that do not need such flexibility, may
use the DefaultServerHandlerFactory
.
JCoServer.setCallHandlerFactory(JCoServerCallHandlerFactory)
,
DefaultServerHandlerFactory.FunctionHandlerFactory
Method Summary | |
---|---|
JCoServerFunctionHandler |
getCallHandler(JCoServerContext serverCtx,
java.lang.String functionName)
Returns a fitting function handler instance for the given function. |
Methods inherited from interface com.sap.conn.jco.server.JCoServerCallHandlerFactory |
---|
sessionClosed |
Method Detail |
---|
JCoServerFunctionHandler getCallHandler(JCoServerContext serverCtx, java.lang.String functionName)
serverCtx
- additional description for the call contextfunctionName
- function name for which a call handler is required
functionName
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |