|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hibersap.session.SessionManagerImpl
public final class SessionManagerImpl
Implementation of the SessionManager. A client uses the SessionManager to create Hibernate Sessions.
Constructor Summary | |
---|---|
SessionManagerImpl(ConfigurationData data,
Context context)
|
Method Summary | |
---|---|
void |
close()
Closes a SessionManager, freeing resources held by the framework. |
Set<BapiInterceptor> |
getBapiInterceptors()
Returns this SessionManager's Bapi interceptors |
Map<Class<?>,BapiMapping> |
getBapiMappings()
Returns this SessionManager's BapiMappings. |
SessionManagerConfig |
getConfig()
Get Configuration. |
Context |
getContext()
Returns this SessionManager's Context class. |
ConverterCache |
getConverterCache()
Returns this SessionManager's Converter cache. |
Set<ExecutionInterceptor> |
getExecutionInterceptors()
Returns this SessionManager's Execution interceptors |
boolean |
isClosed()
Returns the status of this SessionManager. |
Session |
openSession()
Open a Session using a newly created connection to SAP. |
Session |
openSession(Credentials credentials)
Open a Session using a newly created connection to SAP, providing user credentials. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SessionManagerImpl(ConfigurationData data, Context context)
Method Detail |
---|
public void close()
SessionManager
close
in interface SessionManager
public boolean isClosed()
SessionManager
isClosed
in interface SessionManager
public Map<Class<?>,BapiMapping> getBapiMappings()
SessionManagerImplementor
getBapiMappings
in interface SessionManagerImplementor
public ConverterCache getConverterCache()
SessionManagerImplementor
getConverterCache
in interface SessionManagerImplementor
public SessionManagerConfig getConfig()
SessionManager
getConfig
in interface SessionManager
getConfig
in interface SessionManagerImplementor
public Context getContext()
SessionManagerImplementor
getContext
in interface SessionManagerImplementor
public Session openSession()
SessionManager
openSession
in interface SessionManager
public Session openSession(Credentials credentials)
SessionManager
openSession
in interface SessionManager
credentials
- User Credentials for the SAP system to be called.
public Set<ExecutionInterceptor> getExecutionInterceptors()
SessionManagerImplementor
getExecutionInterceptors
in interface SessionManagerImplementor
public Set<BapiInterceptor> getBapiInterceptors()
SessionManagerImplementor
getBapiInterceptors
in interface SessionManagerImplementor
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |