com.mlw.fps.model.business.dao.hibernate
Class Config

java.lang.Object
  |
  +--com.mlw.fps.model.business.dao.hibernate.Config
All Implemented Interfaces:
StartUp

public class Config
extends java.lang.Object
implements StartUp

Author:
Matthew Wilson

Constructor Summary
Config()
          Creates a new instance of StartUpImpl
 
Method Summary
static java.lang.Object findByName(java.lang.String query, java.lang.String name)
           
static net.sf.hibernate.SessionFactory getSessionFactory()
           
 boolean init()
           
 boolean isInitialized()
           
static java.lang.Object load(java.lang.Class klass, java.lang.String pk)
           
static java.util.List query(java.lang.String query, java.lang.String[] parms)
           
static void save(java.lang.Object object)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Config

public Config()
Creates a new instance of StartUpImpl

Method Detail

getSessionFactory

public static net.sf.hibernate.SessionFactory getSessionFactory()

init

public boolean init()
Specified by:
init in interface StartUp

isInitialized

public boolean isInitialized()
Specified by:
isInitialized in interface StartUp

save

public static void save(java.lang.Object object)

load

public static java.lang.Object load(java.lang.Class klass,
                                    java.lang.String pk)

findByName

public static java.lang.Object findByName(java.lang.String query,
                                          java.lang.String name)

query

public static java.util.List query(java.lang.String query,
                                   java.lang.String[] parms)


Copyright © 2003 mlavilson. All Rights Reserved.