org.jadetower.dao
Class SingletonDaoContainer

java.lang.Object
  extended byorg.jadetower.dao.SingletonDaoContainer

public class SingletonDaoContainer
extends java.lang.Object

a singleton wrapper for a DaoContainer. Note: you must initialize the container before calling getDaoManager()


Field Summary
protected static DaoContainer m_container
           
 
Constructor Summary
protected SingletonDaoContainer()
           
 
Method Summary
static DaoManager getDaoManager()
           
static DaoManager getDaoManager(java.lang.String context)
           
static void initialize(java.lang.String[] configUrls, java.util.Map context, org.apache.commons.logging.Log log)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_container

protected static DaoContainer m_container
Constructor Detail

SingletonDaoContainer

protected SingletonDaoContainer()
Method Detail

initialize

public static void initialize(java.lang.String[] configUrls,
                              java.util.Map context,
                              org.apache.commons.logging.Log log)
                       throws java.lang.Exception
Throws:
java.lang.Exception

getDaoManager

public static DaoManager getDaoManager()
                                throws java.lang.Exception
Throws:
java.lang.Exception

getDaoManager

public static DaoManager getDaoManager(java.lang.String context)
                                throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2003-2004 JadeTower. All Rights Reserved.