com.redstarhackers.dal.hibernate3
Class SessionFactoryManager
java.lang.Object
com.redstarhackers.dal.hibernate3.SessionFactoryManager
- public class SessionFactoryManager
- extends java.lang.Object
TODO Class summary sentence. Class documentation.
- Version:
- $Revision: 1123 $
- Author:
- $Author: kostya $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_CONFIG_FILENAME
public static final java.lang.String DEFAULT_CONFIG_FILENAME
- See Also:
- Constant Field Values
DEFAULT_SETTINGS_FILENAME
public static final java.lang.String DEFAULT_SETTINGS_FILENAME
- See Also:
- Constant Field Values
DEFAULT_MAPPING_FILE
public static final java.lang.String DEFAULT_MAPPING_FILE
- See Also:
- Constant Field Values
BASE_KEY
public static final java.lang.String BASE_KEY
- See Also:
- Constant Field Values
CONN_PROVIDER_APPNAME_PROP
public static final java.lang.String CONN_PROVIDER_APPNAME_PROP
- See Also:
- Constant Field Values
CONN_PROVIDER_CONN_RESOURCE_NAME_PROP
public static final java.lang.String CONN_PROVIDER_CONN_RESOURCE_NAME_PROP
- See Also:
- Constant Field Values
getSessionFactory
public static org.hibernate.SessionFactory getSessionFactory(java.lang.String appName,
java.lang.String factoryId)
getFactory
public org.hibernate.SessionFactory getFactory(java.lang.String appName,
java.lang.String factoryId)
getInstance
public static SessionFactoryManager getInstance()
- Retrieve the singleton instance. This method calls the singleton
initializer if the singleton is not initialized. The initializer
is synchronized and thread safe.
- Returns:
- the singleton instance.