org.springframework.extensions.jcr
Class SessionHolder

java.lang.Object
  extended by org.springframework.transaction.support.ResourceHolderSupport
      extended by org.springframework.extensions.jcr.SessionHolder
All Implemented Interfaces:
org.springframework.transaction.support.ResourceHolder
Direct Known Subclasses:
UserTxSessionHolder

public class SessionHolder
extends org.springframework.transaction.support.ResourceHolderSupport

Holder object for Jcr Session.

Author:
Guillaume Bort , Costin Leau, Sergio Bossa, Salvatore Incandela

Constructor Summary
SessionHolder(javax.jcr.Session session)
           
 
Method Summary
 void clear()
           
 javax.jcr.Session getSession()
           
protected  void setSession(javax.jcr.Session session)
           
 
Methods inherited from class org.springframework.transaction.support.ResourceHolderSupport
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

SessionHolder

public SessionHolder(javax.jcr.Session session)
Method Detail

setSession

protected void setSession(javax.jcr.Session session)

getSession

public javax.jcr.Session getSession()

clear

public void clear()
Overrides:
clear in class org.springframework.transaction.support.ResourceHolderSupport
See Also:
ResourceHolderSupport.clear()


Copyright © 2009. All Rights Reserved.