com.rapidtransform.core.meta.service
Class MetaSessionFactory

java.lang.Object
  extended by org.springframework.orm.hibernate3.LocalSessionFactoryBean
      extended by com.rapidtransform.core.meta.service.MetaSessionFactory
All Implemented Interfaces:
org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean

public class MetaSessionFactory
extends org.springframework.orm.hibernate3.LocalSessionFactoryBean

The MetaSessionFactory enhances the Hibernate Configuration to include definitions for the meta information defined in the MetaModel. This factory extends the Spring LocalSessionFactoryBean by adding post processing on the Configuration.

Author:
Steve Werner

Field Summary
static org.apache.commons.logging.Log log
           
 
Constructor Summary
MetaSessionFactory()
           
 
Method Summary
 java.util.Map<java.lang.String,Namespace> getMetaEntities()
           
 MetaService getMetaService()
           
 void setMetaEntities(java.util.Map<java.lang.String,Namespace> metaEntities)
           
 void setMetaService(MetaService metaService)
           
 
Methods inherited from class org.springframework.orm.hibernate3.LocalSessionFactoryBean
afterPropertiesSet, createDatabaseSchema, destroy, dropDatabaseSchema, getConfigTimeDataSource, getConfigTimeLobHandler, getConfigTimeTransactionManager, getConfiguration, getObject, getObjectType, isSingleton, setCacheableMappingLocations, setCollectionCacheStrategies, setConfigLocation, setConfigurationClass, setDataSource, setEntityCacheStrategies, setEntityInterceptor, setEventListeners, setExposeTransactionAwareSessionFactory, setFilterDefinitions, setHibernateProperties, setJtaTransactionManager, setLobHandler, setMappingDirectoryLocations, setMappingJarLocations, setMappingLocations, setMappingResources, setNamingStrategy, setSchemaUpdate, setTypeDefinitions, setUseTransactionAwareDataSource, updateDatabaseSchema
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

public static org.apache.commons.logging.Log log
Constructor Detail

MetaSessionFactory

public MetaSessionFactory()
Method Detail

getMetaEntities

public java.util.Map<java.lang.String,Namespace> getMetaEntities()
Returns:
Returns the metaEntities.

setMetaEntities

public void setMetaEntities(java.util.Map<java.lang.String,Namespace> metaEntities)
Parameters:
metaEntities - The metaEntities to set.

getMetaService

public MetaService getMetaService()
Returns:
Returns the metaService.

setMetaService

public void setMetaService(MetaService metaService)
Parameters:
metaService - The metaService to set.