Method | Description | |
---|---|---|
Bind ( ISessionFactory sessionFactory ) : void | ||
Bind ( Lazy |
Bind a new sessionInitializer to the context of the sessionFactory.
|
|
CurrentSession ( ) : ISession |
Retrieve the current session for the session factory.
|
|
LazySessionContext ( ISessionFactoryImplementor factory ) : System | ||
UnBind ( ISessionFactory sessionFactory ) : ISession |
Unbind the current session of the session factory.
|
Method | Description | |
---|---|---|
BeginSession ( ISessionFactory sf ) : ISession | ||
GetCurrentFactoryMap ( ) : Lazy |
Provides the CurrentMap of SessionFactories. If there is no map create/store and return a new one.
|
public static Bind ( ISessionFactory sessionFactory ) : void | ||
sessionFactory | ISessionFactory | |
return | void |
public static Bind ( Lazy |
||
sessionInitializer | Lazy |
|
sessionFactory | ISessionFactory | |
return | void |
public LazySessionContext ( ISessionFactoryImplementor factory ) : System | ||
factory | ISessionFactoryImplementor | |
return | System |
public static UnBind ( ISessionFactory sessionFactory ) : ISession | ||
sessionFactory | ISessionFactory | |
return | ISession |