net.shrine.sheriff.model
Class SheriffHibernateUtil

java.lang.Object
  extended by net.shrine.sheriff.model.SheriffHibernateUtil

public class SheriffHibernateUtil
extends Object

Author:
Andrew McMurry

Field Summary
static String hibernateConfigFileName
           
static SheriffHibernateUtil Instance
           
 
Method Summary
 String getDataSourceName()
           
 String getDBDriver()
           
 String getDBUrl()
           
 org.hibernate.SessionFactory getSessionFactory()
           
 boolean shutDown()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

hibernateConfigFileName

public static final String hibernateConfigFileName
See Also:
Constant Field Values

Instance

public static final SheriffHibernateUtil Instance
Method Detail

getSessionFactory

public final org.hibernate.SessionFactory getSessionFactory()

getDataSourceName

public final String getDataSourceName()

getDBUrl

public final String getDBUrl()

getDBDriver

public final String getDBDriver()

shutDown

public final boolean shutDown()


Copyright © 2011. All Rights Reserved.