|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hibersap.session.SessionImpl
public class SessionImpl
Constructor Summary | |
---|---|
SessionImpl(SessionManagerImplementor sessionManager)
|
|
SessionImpl(SessionManagerImplementor sessionManager,
Credentials credentials)
|
Method Summary | |
---|---|
void |
addBapiInterceptor(BapiInterceptor interceptor)
|
void |
addExecutionInterceptor(ExecutionInterceptor interceptor)
|
Transaction |
beginTransaction()
starts a transaction. |
void |
close()
releases all resources. |
void |
execute(Object bapiObject)
executes a funtion module in SAP. |
void |
execute(Object bapiObject,
BapiMapping bapiMapping)
|
SessionManagerImplementor |
getSessionManager()
|
Transaction |
getTransaction()
returns the transaction. |
boolean |
isClosed()
is session already closed? |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SessionImpl(SessionManagerImplementor sessionManager)
public SessionImpl(SessionManagerImplementor sessionManager, Credentials credentials)
Method Detail |
---|
public Transaction beginTransaction()
Session
beginTransaction
in interface Session
public void close()
Session
close
in interface Session
public void execute(Object bapiObject)
Session
execute
in interface Session
bapiObject
- The BAPI classpublic void execute(Object bapiObject, BapiMapping bapiMapping)
execute
in interface SessionImplementor
public SessionManagerImplementor getSessionManager()
getSessionManager
in interface SessionImplementor
public Transaction getTransaction()
Session
getTransaction
in interface Session
public boolean isClosed()
Session
isClosed
in interface Session
public void addExecutionInterceptor(ExecutionInterceptor interceptor)
public void addBapiInterceptor(BapiInterceptor interceptor)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |