站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Spring Framework 2.0.5 API 文档英文版

SessionHolder (Spring Framework API 2.0) - Spring Framework 2.0.5 API 文档英文版

The Spring Framework

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)
          Create a new SessionHolder for the given TopLink Session.
 
Method Summary
 oracle.toplink.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, released, requested, reset, 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)
Create a new SessionHolder for the given TopLink Session.

Parameters:
session - the TopLink Session
Method Detail

getSession

public oracle.toplink.sessions.Session getSession()
Return this holder's TopLink Session.


The Spring Framework

Copyright © 2002-2007 The Spring Framework.