org.springframework.orm.toplink
Class SessionHolder

java.lang.Object
  extended by org.springframework.transaction.support.ResourceHolderSupport
      extended by org.springframework.orm.toplink.SessionHolder

public class SessionHolder
extends ResourceHolderSupport

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.

Since:
1.2
Author:
Juergen Hoeller

Constructor Summary
SessionHolder(oracle.toplink.sessions.Session session)
           
 
Method Summary
 oracle.toplink.sessions.Session getSession()
           
 
Methods inherited from class org.springframework.transaction.support.ResourceHolderSupport
clear, getDeadline, getTimeToLiveInMillis, getTimeToLiveInSeconds, hasTimeout, isOpen, isRollbackOnly, isSynchronizedWithTransaction, released, requested, setRollbackOnly, setSynchronizedWithTransaction, setTimeoutInMillis, setTimeoutInSeconds
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SessionHolder

public SessionHolder(oracle.toplink.sessions.Session session)
Method Detail

getSession

public oracle.toplink.sessions.Session getSession()


Copyright (c) 2002-2005 The Spring Framework Project.