|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.transaction.support.ResourceHolderSupport
org.springframework.orm.toplink.SessionHolder
public class SessionHolder
Session holder, wrapping a TopLink Session. TopLinkTransactionManager binds instances of this class to the thread, for a given SessionFactory.
Note: This is an SPI class, not intended to be used by applications.
Constructor Summary | |
---|---|
SessionHolder(oracle.toplink.essentials.sessions.Session session)
Create a new SessionHolder for the given TopLink Session. |
Method Summary | |
---|---|
oracle.toplink.essentials.sessions.Session |
getSession()
Return this holder's TopLink Session. |
Methods inherited from class org.springframework.transaction.support.ResourceHolderSupport |
---|
clear, getDeadline, getTimeToLiveInMillis, getTimeToLiveInSeconds, hasTimeout, isOpen, isRollbackOnly, isSynchronizedWithTransaction, isVoid, released, requested, reset, setRollbackOnly, setSynchronizedWithTransaction, setTimeoutInMillis, setTimeoutInSeconds, unbound |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SessionHolder(oracle.toplink.essentials.sessions.Session session)
session
- the TopLink SessionMethod Detail |
---|
public oracle.toplink.essentials.sessions.Session getSession()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |