|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hibersap.execution.jca.JCAConnection
public class JCAConnection
Implementation for JCA, i.e. it uses a deployed resource adapter to connect to SAP.
Constructor Summary | |
---|---|
JCAConnection(javax.resource.cci.ConnectionFactory connectionFactory,
String connectionSpecFactoryName)
|
Method Summary | |
---|---|
Transaction |
beginTransaction(SessionImplementor session)
Begins a logical unit of work. |
void |
close()
Closes this connection. |
void |
execute(String bapiName,
Map<String,Object> functionMap)
Calls a remote function module in the SAP system. |
Transaction |
getTransaction()
Returns the current transaction. |
void |
setCredentials(Credentials credentials)
Set the credentials for the session. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JCAConnection(javax.resource.cci.ConnectionFactory connectionFactory, String connectionSpecFactoryName)
Method Detail |
---|
public Transaction beginTransaction(SessionImplementor session)
Connection
beginTransaction
in interface Connection
session
- The Session this Connection belongs to.
public void close()
Connection
close
in interface Connection
public void execute(String bapiName, Map<String,Object> functionMap)
Connection
execute
in interface Connection
bapiName
- The function module namefunctionMap
- The function module parameterspublic Transaction getTransaction()
Connection
getTransaction
in interface Connection
public void setCredentials(Credentials credentials)
Connection
setCredentials
in interface Connection
credentials
- The Credentials
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |