|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.orm.hibernate3.AbstractSessionFactoryBean org.springframework.orm.hibernate3.LocalSessionFactoryBean org.openmrs.api.db.hibernate.HibernateSessionFactoryBean
public class HibernateSessionFactoryBean
Field Summary | |
---|---|
protected ChainingInterceptor |
chainingInterceptor
|
java.util.Map<java.lang.String,org.hibernate.Interceptor> |
interceptors
|
protected java.util.Set<java.lang.String> |
tmpMappingResources
|
Fields inherited from class org.springframework.orm.hibernate3.AbstractSessionFactoryBean |
---|
logger |
Constructor Summary | |
---|---|
HibernateSessionFactoryBean()
|
Method Summary | |
---|---|
void |
afterPropertiesSet()
|
void |
destroy()
|
java.util.Set<java.lang.String> |
getModuleMappingResources()
|
org.hibernate.cfg.Configuration |
newConfiguration()
|
void |
setMappingJarLocations(org.springframework.core.io.Resource[] mappingJarLocations)
Used by the module testing framework to set the dependent modules in the hibernate session factory |
void |
setMappingResources(java.lang.String[] mappingResources)
Collect the mapping resources for future use because the mappingResources object is defined as 'private' instead of 'protected' |
Methods inherited from class org.springframework.orm.hibernate3.LocalSessionFactoryBean |
---|
afterSessionFactoryCreation, buildSessionFactory, createDatabaseSchema, dropDatabaseSchema, executeSchemaScript, executeSchemaStatement, getConfigTimeCacheProvider, getConfigTimeDataSource, getConfigTimeLobHandler, getConfigTimeTransactionManager, getConfiguration, getHibernateProperties, newSessionFactory, postProcessConfiguration, postProcessMappings, setBeanClassLoader, setCacheableMappingLocations, setCacheProvider, setCacheRegionFactory, setCollectionCacheStrategies, setConfigLocation, setConfigLocations, setConfigurationClass, setEntityCacheStrategies, setEntityInterceptor, setEventListeners, setFilterDefinitions, setHibernateProperties, setJtaTransactionManager, setLobHandler, setMappingDirectoryLocations, setMappingLocations, setNamingStrategy, setSchemaUpdate, setTypeDefinitions, updateDatabaseSchema, validateDatabaseSchema |
Methods inherited from class org.springframework.orm.hibernate3.AbstractSessionFactoryBean |
---|
beforeSessionFactoryDestruction, convertHibernateAccessException, getDataSource, getObject, getObjectType, getSessionFactory, isExposeTransactionAwareSessionFactory, isSingleton, isUseTransactionAwareDataSource, setDataSource, setExposeTransactionAwareSessionFactory, setJdbcExceptionTranslator, setUseTransactionAwareDataSource, translateExceptionIfPossible, wrapSessionFactoryIfNecessary |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.Set<java.lang.String> tmpMappingResources
protected ChainingInterceptor chainingInterceptor
public java.util.Map<java.lang.String,org.hibernate.Interceptor> interceptors
Constructor Detail |
---|
public HibernateSessionFactoryBean()
Method Detail |
---|
public org.hibernate.cfg.Configuration newConfiguration() throws org.hibernate.HibernateException
newConfiguration
in class org.springframework.orm.hibernate3.LocalSessionFactoryBean
org.hibernate.HibernateException
public void setMappingResources(java.lang.String[] mappingResources)
setMappingResources
in class org.springframework.orm.hibernate3.LocalSessionFactoryBean
LocalSessionFactoryBean.setMappingResources(java.lang.String[])
public java.util.Set<java.lang.String> getModuleMappingResources()
public void afterPropertiesSet() throws java.lang.Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
afterPropertiesSet
in class org.springframework.orm.hibernate3.AbstractSessionFactoryBean
java.lang.Exception
public void destroy() throws org.hibernate.HibernateException
destroy
in interface org.springframework.beans.factory.DisposableBean
destroy
in class org.springframework.orm.hibernate3.LocalSessionFactoryBean
org.hibernate.HibernateException
LocalSessionFactoryBean.destroy()
public void setMappingJarLocations(org.springframework.core.io.Resource[] mappingJarLocations)
setMappingJarLocations
in class org.springframework.orm.hibernate3.LocalSessionFactoryBean
LocalSessionFactoryBean.setMappingJarLocations(org.springframework.core.io.Resource[])
|
OpenMRS-1.7.x | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |