|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hibersap.execution.jco.JCoConnection
public class JCoConnection
Constructor Summary | |
---|---|
JCoConnection(String destinationName)
|
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 JCoConnection(String destinationName)
Method Detail |
---|
public Transaction beginTransaction(SessionImplementor session)
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()
getTransaction
in interface Connection
public void setCredentials(Credentials credentials)
setCredentials
in interface Connection
credentials
- The Credentials
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |