|
If not dev, correct this wrong version label in perforce3227:3227\buildenvBE.Japro<CODELINE>src_macrospackjavadoc.properties | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SAPAdapterResources
The methods of this interface are intended to be invoked by SAP Adapters within the SAP Adapter Framework. In the
future adapters will have access to the methods defined in Sun's JCA 1.5 specification. Until that specification
becomes final and is implemented in the server adapters can use this class, which should partially fulfill the server
contract required in the specification by exposing some low level application server features to the resource adapter
writers.
Access to an instance of an implementation of this class should be retrieved via JNDI, using the lookup name
"SAPAdapterResources".
For example:
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.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
void startRunnable(Runnable runner)
runner - a runnable implementation provided by the resource adapter provider.TxManager getTransactionManager()
|
If not dev, correct this wrong version label in perforce3227:3227\buildenvBE.Japro<CODELINE>src_macrospackjavadoc.properties | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||