public interface SAPAdapterResources
InitialContext ctx = new InitialContext();
SAPAdapterResources resources =
(SAPAdapterResources)ctx.lookup("SAPAdapterResources");
resources.startRunnable(myRunnable);
This fragment starts the execution of a thread that is supplied by the adapter developer (as long as it implements
the Runnable interface.| Modifier and Type | Method and Description |
|---|---|
com.sap.aii.af.service.util.transaction.api.TxManager |
getTransactionManager()
Retrieves an instance of the SAP Transaction Manager to be used by resource adapters instead of JTA.
|
void |
startRunnable(Runnable runner)
Allows resource adapters to start their own threads.
|
void startRunnable(Runnable runner)
runner - a runnable implementation provided by the resource adapter provider.com.sap.aii.af.service.util.transaction.api.TxManager getTransactionManager()
| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] SAP_XIAF
|
[sap.com] com.sap.aii.af.svc.facade
|
api
|
BC-XI
|
Copyright 2019 SAP AG Complete Copyright Notice