Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.hibernate.test.connections
Class ThreadLocalCurrentSessionTest.TestableThreadLocalContext  view ThreadLocalCurrentSessionTest.TestableThreadLocalContext download ThreadLocalCurrentSessionTest.TestableThreadLocalContext.java

java.lang.Object
  extended byorg.hibernate.context.ThreadLocalSessionContext
      extended byorg.hibernate.test.connections.ThreadLocalCurrentSessionTest.TestableThreadLocalContext
All Implemented Interfaces:
org.hibernate.context.CurrentSessionContext, java.io.Serializable
Enclosing class:
ThreadLocalCurrentSessionTest

public static class ThreadLocalCurrentSessionTest.TestableThreadLocalContext
extends org.hibernate.context.ThreadLocalSessionContext


Nested Class Summary
 
Nested classes inherited from class org.hibernate.context.ThreadLocalSessionContext
org.hibernate.context.ThreadLocalSessionContext.CleanupSynch
 
Field Summary
private static ThreadLocalCurrentSessionTest.TestableThreadLocalContext me
           
 
Fields inherited from class org.hibernate.context.ThreadLocalSessionContext
factory
 
Constructor Summary
ThreadLocalCurrentSessionTest.TestableThreadLocalContext(org.hibernate.engine.SessionFactoryImplementor factory)
           
 
Method Summary
static boolean hasBind()
           
static boolean isSessionBound(org.hibernate.Session session)
           
 
Methods inherited from class org.hibernate.context.ThreadLocalSessionContext
bind, buildCleanupSynch, buildOrObtainSession, currentSession, getConnectionReleaseMode, getFactory, isAutoCloseEnabled, isAutoFlushEnabled, sessionMap, unbind, wrap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

me

private static ThreadLocalCurrentSessionTest.TestableThreadLocalContext me
Constructor Detail

ThreadLocalCurrentSessionTest.TestableThreadLocalContext

public ThreadLocalCurrentSessionTest.TestableThreadLocalContext(org.hibernate.engine.SessionFactoryImplementor factory)
Method Detail

isSessionBound

public static boolean isSessionBound(org.hibernate.Session session)

hasBind

public static boolean hasBind()