|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.orm.hibernate3.AbstractSessionFactoryBean
org.springframework.orm.hibernate3.LocalSessionFactoryBean
org.LexGrid.LexBIG.caCore.connection.orm.LexEVSSessionFactoryBean
public class LexEVSSessionFactoryBean
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.
Field Summary | |
---|---|
private gov.nih.nci.system.dao.orm.HibernateConfigurationHolder |
configHolder
|
private org.LexGrid.LexBIG.Impl.helpers.SQLConnectionInfo |
connection
|
private gov.nih.nci.system.security.helper.SecurityInitializationHelper |
securityHelper
|
static HashMap<String,String> |
ShardPrefixToFactoryNameMap
|
Fields inherited from class org.springframework.orm.hibernate3.AbstractSessionFactoryBean |
---|
logger |
Constructor Summary | |
---|---|
LexEVSSessionFactoryBean()
|
Method Summary | |
---|---|
gov.nih.nci.system.dao.orm.HibernateConfigurationHolder |
getConfigHolder()
|
org.LexGrid.LexBIG.Impl.helpers.SQLConnectionInfo |
getConnection()
|
gov.nih.nci.system.security.helper.SecurityInitializationHelper |
getSecurityHelper()
|
protected org.hibernate.SessionFactory |
newSessionFactory(org.hibernate.cfg.Configuration config)
|
void |
setConfigHolder(gov.nih.nci.system.dao.orm.HibernateConfigurationHolder configHolder)
|
void |
setConnection(org.LexGrid.LexBIG.Impl.helpers.SQLConnectionInfo connection)
|
void |
setSecurityHelper(gov.nih.nci.system.security.helper.SecurityInitializationHelper securityHelper)
|
Methods inherited from class org.springframework.orm.hibernate3.LocalSessionFactoryBean |
---|
afterSessionFactoryCreation, buildSessionFactory, createDatabaseSchema, destroy, dropDatabaseSchema, executeSchemaScript, executeSchemaStatement, getConfigTimeDataSource, getConfigTimeLobHandler, getConfigTimeTransactionManager, getConfiguration, getHibernateProperties, newConfiguration, postProcessConfiguration, setCacheableMappingLocations, setCollectionCacheStrategies, setConfigLocation, setConfigLocations, setConfigurationClass, setDataSource, setEntityCacheStrategies, setEntityInterceptor, setEventListeners, setFilterDefinitions, setHibernateProperties, setJtaTransactionManager, setLobHandler, setMappingDirectoryLocations, setMappingJarLocations, setMappingLocations, setMappingResources, setNamingStrategy, setSchemaUpdate, setTypeDefinitions, setUseTransactionAwareDataSource, updateDatabaseSchema |
Methods inherited from class org.springframework.orm.hibernate3.AbstractSessionFactoryBean |
---|
afterPropertiesSet, beforeSessionFactoryDestruction, convertHibernateAccessException, getObject, getObjectType, getSessionFactory, getTransactionAwareSessionFactoryProxy, isExposeTransactionAwareSessionFactory, isSingleton, setExposeTransactionAwareSessionFactory, setJdbcExceptionTranslator, translateExceptionIfPossible, wrapSessionFactoryIfNecessary |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static HashMap<String,String> ShardPrefixToFactoryNameMap
private gov.nih.nci.system.dao.orm.HibernateConfigurationHolder configHolder
private gov.nih.nci.system.security.helper.SecurityInitializationHelper securityHelper
private org.LexGrid.LexBIG.Impl.helpers.SQLConnectionInfo connection
Constructor Detail |
---|
public LexEVSSessionFactoryBean()
Method Detail |
---|
protected org.hibernate.SessionFactory newSessionFactory(org.hibernate.cfg.Configuration config) throws org.hibernate.HibernateException
newSessionFactory
in class org.springframework.orm.hibernate3.LocalSessionFactoryBean
org.hibernate.HibernateException
public gov.nih.nci.system.dao.orm.HibernateConfigurationHolder getConfigHolder()
public void setConfigHolder(gov.nih.nci.system.dao.orm.HibernateConfigurationHolder configHolder)
public gov.nih.nci.system.security.helper.SecurityInitializationHelper getSecurityHelper()
public void setSecurityHelper(gov.nih.nci.system.security.helper.SecurityInitializationHelper securityHelper)
public org.LexGrid.LexBIG.Impl.helpers.SQLConnectionInfo getConnection()
public void setConnection(org.LexGrid.LexBIG.Impl.helpers.SQLConnectionInfo connection)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |