org.hibernate.cfg
Class SettingsFactory

java.lang.Object
  extended byorg.hibernate.cfg.SettingsFactory
All Implemented Interfaces:
Serializable

public class SettingsFactory
extends Object
implements Serializable

Reads configuration properties and configures a Settings instance.

Author:
Gavin King
See Also:
Serialized Form

Constructor Summary
protected SettingsFactory()
           
 
Method Summary
 Settings buildSettings(Properties props)
           
protected  BatcherFactory createBatcherFactory(Properties properties, int batchSize)
           
protected  CacheProvider createCacheProvider(Properties properties)
           
protected  ConnectionProvider createConnectionProvider(Properties properties)
           
protected  QueryCacheFactory createQueryCacheFactory(Properties properties)
           
protected  QueryTranslatorFactory createQueryTranslatorFactory(Properties properties)
           
protected  TransactionFactory createTransactionFactory(Properties properties)
           
protected  TransactionManagerLookup createTransactionManagerLookup(Properties properties)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SettingsFactory

protected SettingsFactory()
                   throws HibernateException
Method Detail

buildSettings

public Settings buildSettings(Properties props)

createQueryCacheFactory

protected QueryCacheFactory createQueryCacheFactory(Properties properties)

createCacheProvider

protected CacheProvider createCacheProvider(Properties properties)

createQueryTranslatorFactory

protected QueryTranslatorFactory createQueryTranslatorFactory(Properties properties)

createBatcherFactory

protected BatcherFactory createBatcherFactory(Properties properties,
                                              int batchSize)

createConnectionProvider

protected ConnectionProvider createConnectionProvider(Properties properties)

createTransactionFactory

protected TransactionFactory createTransactionFactory(Properties properties)

createTransactionManagerLookup

protected TransactionManagerLookup createTransactionManagerLookup(Properties properties)