|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.orm.hibernate3.HibernateExceptionTranslator
org.springframework.orm.hibernate3.AbstractSessionFactoryBean
org.springframework.orm.hibernate3.LocalSessionFactoryBean
com.liferay.portal.spring.hibernate.PortalHibernateConfiguration
public class PortalHibernateConfiguration
| Field Summary |
|---|
| Fields inherited from class org.springframework.orm.hibernate3.AbstractSessionFactoryBean |
|---|
logger |
| Constructor Summary | |
|---|---|
PortalHibernateConfiguration()
|
|
| Method Summary | |
|---|---|
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(Converter<String> hibernateConfigurationConverter)
|
void |
setMvccEnabled(boolean mvccEnabled)
|
| Methods inherited from class org.springframework.orm.hibernate3.LocalSessionFactoryBean |
|---|
afterSessionFactoryCreation, createDatabaseSchema, dropDatabaseSchema, executeSchemaScript, executeSchemaStatement, getConfigTimeCacheProvider, getConfigTimeDataSource, getConfigTimeLobHandler, getConfigTimeTransactionManager, getConfiguration, getHibernateProperties, newSessionFactory, postProcessMappings, setBeanClassLoader, setCacheableMappingLocations, setCacheProvider, setCacheRegionFactory, setCollectionCacheStrategies, setConfigLocation, setConfigLocations, setConfigurationClass, setEntityCacheStrategies, setEntityInterceptor, setEventListeners, setFilterDefinitions, setHibernateProperties, setJtaTransactionManager, setLobHandler, setMappingDirectoryLocations, setMappingJarLocations, setMappingLocations, setMappingResources, setNamingStrategy, setSchemaUpdate, setTypeDefinitions, updateDatabaseSchema, validateDatabaseSchema |
| Methods inherited from class org.springframework.orm.hibernate3.AbstractSessionFactoryBean |
|---|
afterPropertiesSet, beforeSessionFactoryDestruction, getDataSource, getObject, getObjectType, getSessionFactory, isExposeTransactionAwareSessionFactory, isSingleton, isUseTransactionAwareDataSource, setDataSource, setExposeTransactionAwareSessionFactory, setUseTransactionAwareDataSource, wrapSessionFactoryIfNecessary |
| Methods inherited from class org.springframework.orm.hibernate3.HibernateExceptionTranslator |
|---|
convertHibernateAccessException, setJdbcExceptionTranslator, translateExceptionIfPossible |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PortalHibernateConfiguration()
| Method Detail |
|---|
public org.hibernate.SessionFactory buildSessionFactory()
throws Exception
buildSessionFactory in class org.springframework.orm.hibernate3.LocalSessionFactoryBeanException
public 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(Converter<String> hibernateConfigurationConverter)
public void setMvccEnabled(boolean mvccEnabled)
protected static Map<String,Class<?>> getPreloadClassLoaderClasses()
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.LocalSessionFactoryBean
protected void readResource(org.hibernate.cfg.Configuration configuration,
InputStream inputStream)
throws Exception
Exception
protected void readResource(org.hibernate.cfg.Configuration configuration,
String resource)
throws Exception
Exception
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||