AbstractCurrentSessionContext (Hibernate JavaDocs)
Date: 2012-04-05

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.hibernate.context.spi
Class AbstractCurrentSessionContext

    java.lang.Object
      org.hibernate.context.spi.AbstractCurrentSessionContext

All Implemented Interfaces:
  Serializable, CurrentSessionContext

Direct Known Subclasses:
  JTASessionContext, ManagedSessionContext, ThreadLocalSessionContext

    public abstract class AbstractCurrentSessionContext

extends Object
implements CurrentSessionContext

Base support for `CurrentSessionContext` implementors.

See Also:
  Serialized Form

Constructor Summary
`protected` | `AbstractCurrentSessionContext(SessionFactoryImplementor factory)`

Method Summary
`protected SessionBuilder` | `baseSessionBuilder()`
`SessionFactoryImplementor` | `factory()`
`protected void` | `validateExistingSession(Session existingSession)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Methods inherited from interface org.hibernate.context.spi.CurrentSessionContext
`currentSession`

Constructor Detail

### AbstractCurrentSessionContext

    protected AbstractCurrentSessionContext(SessionFactoryImplementor factory)

Method Detail

### factory

    public SessionFactoryImplementor factory()

### baseSessionBuilder

    protected SessionBuilder baseSessionBuilder()

### validateExistingSession

    protected void validateExistingSession(Session existingSession)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.