org.LexGrid.LexBIG.caCore.connection.orm
Class LexEVSSessionFactoryBean

java.lang.Object
  extended by LocalSessionFactoryBean
      extended by org.LexGrid.LexBIG.caCore.connection.orm.LexEVSSessionFactoryBean

public class LexEVSSessionFactoryBean
extends LocalSessionFactoryBean

LexEVS implementation of a LocalSessionFactoryBean. This will be dynamically injected with LexBIG connection info to build DAOs for the various CodingSchemes loaded into the local LexBIG installation.

Author:
Kevin Peterson

Field Summary
static java.util.HashMap<java.lang.String,java.lang.String> ShardPrefixToFactoryNameMap
           
 
Constructor Summary
LexEVSSessionFactoryBean()
           
 
Method Summary
 HibernateConfigurationHolder getConfigHolder()
           
 SQLConnectionInfo getConnection()
           
 SecurityInitializationHelper getSecurityHelper()
           
protected  SessionFactory newSessionFactory(Configuration config)
           
 void setConfigHolder(HibernateConfigurationHolder configHolder)
           
 void setConnection(SQLConnectionInfo connection)
           
 void setSecurityHelper(SecurityInitializationHelper securityHelper)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ShardPrefixToFactoryNameMap

public static java.util.HashMap<java.lang.String,java.lang.String> ShardPrefixToFactoryNameMap
Constructor Detail

LexEVSSessionFactoryBean

public LexEVSSessionFactoryBean()
Method Detail

newSessionFactory

protected SessionFactory newSessionFactory(Configuration config)
                                    throws HibernateException
Throws:
HibernateException

getConfigHolder

public HibernateConfigurationHolder getConfigHolder()

setConfigHolder

public void setConfigHolder(HibernateConfigurationHolder configHolder)

getSecurityHelper

public SecurityInitializationHelper getSecurityHelper()

setSecurityHelper

public void setSecurityHelper(SecurityInitializationHelper securityHelper)

getConnection

public SQLConnectionInfo getConnection()

setConnection

public void setConnection(SQLConnectionInfo connection)