org.milyn.scribe.adapter.hibernate
Class SessionRegister

java.lang.Object
  extended by org.milyn.scribe.register.AbstractDaoRegister<D>
      extended by org.milyn.scribe.register.AbstractDaoAdapterRegister<org.milyn.scribe.adapter.hibernate.SessionDaoAdapter,org.hibernate.Session>
          extended by org.milyn.scribe.adapter.hibernate.SessionRegister
All Implemented Interfaces:
org.milyn.scribe.register.DaoRegister<org.milyn.scribe.adapter.hibernate.SessionDaoAdapter>

public class SessionRegister
extends org.milyn.scribe.register.AbstractDaoAdapterRegister<org.milyn.scribe.adapter.hibernate.SessionDaoAdapter,org.hibernate.Session>

Author:
maurice.zeijen@smies.com

Constructor Summary
SessionRegister(Map<String,? extends org.hibernate.Session> sessionMap)
           
SessionRegister(org.hibernate.Session session)
           
SessionRegister(org.hibernate.Session defaultSession, Map<String,? extends org.hibernate.Session> sessionMap)
           
 
Method Summary
protected  org.milyn.scribe.adapter.hibernate.SessionDaoAdapter createAdapter(org.hibernate.Session adaptable)
           
 
Methods inherited from class org.milyn.scribe.register.AbstractDaoAdapterRegister
addToSessionMap, getDao, getDefaultDao
 
Methods inherited from class org.milyn.scribe.register.AbstractDaoRegister
returnDao
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SessionRegister

public SessionRegister(org.hibernate.Session session)

SessionRegister

public SessionRegister(org.hibernate.Session defaultSession,
                       Map<String,? extends org.hibernate.Session> sessionMap)

SessionRegister

public SessionRegister(Map<String,? extends org.hibernate.Session> sessionMap)
Method Detail

createAdapter

protected org.milyn.scribe.adapter.hibernate.SessionDaoAdapter createAdapter(org.hibernate.Session adaptable)
Specified by:
createAdapter in class org.milyn.scribe.register.AbstractDaoAdapterRegister<org.milyn.scribe.adapter.hibernate.SessionDaoAdapter,org.hibernate.Session>


Copyright © 2018. All rights reserved.