public class PortalHibernateConfiguration
extends org.springframework.orm.hibernate3.LocalSessionFactoryBean
| Constructor and Description |
|---|
PortalHibernateConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
org.hibernate.SessionFactory |
buildSessionFactory() |
void |
destroy() |
protected ClassLoader |
getConfigurationClassLoader() |
protected String[] |
getConfigurationResources() |
protected static Map<String,Class<?>> |
getPreloadClassLoaderClasses() |
protected org.hibernate.cfg.Configuration |
newConfiguration() |
protected void |
postProcessConfiguration(org.hibernate.cfg.Configuration configuration) |
protected void |
readResource(org.hibernate.cfg.Configuration configuration,
InputStream inputStream) |
protected void |
readResource(org.hibernate.cfg.Configuration configuration,
String resource) |
void |
setHibernateConfigurationConverter(com.liferay.portal.kernel.util.Converter<String> hibernateConfigurationConverter) |
void |
setMvccEnabled(boolean mvccEnabled) |
afterSessionFactoryCreation, createDatabaseSchema, dropDatabaseSchema, executeSchemaScript, executeSchemaStatement, getConfigTimeDataSource, getConfigTimeLobHandler, getConfigTimeTransactionManager, getConfiguration, getHibernateProperties, newSessionFactory, postProcessMappings, setBeanClassLoader, setCacheableMappingLocations, setCacheRegionFactory, setCollectionCacheStrategies, setConfigLocation, setConfigLocations, setConfigurationClass, setEntityCacheStrategies, setEntityInterceptor, setEventListeners, setFilterDefinitions, setHibernateProperties, setJtaTransactionManager, setLobHandler, setMappingDirectoryLocations, setMappingJarLocations, setMappingLocations, setMappingResources, setNamingStrategy, setSchemaUpdate, setTypeDefinitions, updateDatabaseSchema, validateDatabaseSchemaafterPropertiesSet, beforeSessionFactoryDestruction, getDataSource, getObject, getObjectType, getSessionFactory, isExposeTransactionAwareSessionFactory, isSingleton, isUseTransactionAwareDataSource, setDataSource, setExposeTransactionAwareSessionFactory, setUseTransactionAwareDataSource, wrapSessionFactoryIfNecessarypublic org.hibernate.SessionFactory buildSessionFactory()
throws Exception
buildSessionFactory in class org.springframework.orm.hibernate3.LocalSessionFactoryBeanExceptionpublic void destroy()
throws org.hibernate.HibernateException
destroy in interface org.springframework.beans.factory.DisposableBeandestroy in class org.springframework.orm.hibernate3.LocalSessionFactoryBeanorg.hibernate.HibernateExceptionpublic void setHibernateConfigurationConverter(com.liferay.portal.kernel.util.Converter<String> hibernateConfigurationConverter)
public void setMvccEnabled(boolean mvccEnabled)
protected ClassLoader getConfigurationClassLoader()
protected String[] getConfigurationResources()
protected org.hibernate.cfg.Configuration newConfiguration()
newConfiguration in class org.springframework.orm.hibernate3.LocalSessionFactoryBeanprotected void postProcessConfiguration(org.hibernate.cfg.Configuration configuration)
postProcessConfiguration in class org.springframework.orm.hibernate3.LocalSessionFactoryBeanprotected void readResource(org.hibernate.cfg.Configuration configuration,
InputStream inputStream)
throws Exception
Exception