|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jadetower.dao.DaoContainer
a simple DAO Container.
| Constructor Summary | |
DaoContainer(java.lang.String[] configUrls,
java.util.Map context,
org.apache.commons.logging.Log log)
creates a basic DaoContainer |
|
| Method Summary | |
protected Resolver |
createResolver(org.apache.avalon.framework.configuration.Configuration config)
|
DaoManager |
getManager()
get the default DaoManager |
DaoManager |
getManager(java.lang.String context)
get a specific named DaoManager |
protected void |
initialize()
|
protected void |
initLogger(org.apache.commons.logging.Log log)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DaoContainer(java.lang.String[] configUrls,
java.util.Map context,
org.apache.commons.logging.Log log)
throws java.lang.Exception
configUrls - a array of configuration file URLs (will merge files)context - a default root context [can be null]
java.lang.Exception| Method Detail |
public DaoManager getManager()
throws java.lang.Exception
java.lang.Exception
public DaoManager getManager(java.lang.String context)
throws java.lang.Exception
context - the DaoManager ID or context name
java.lang.Exceptionprotected void initialize()
protected Resolver createResolver(org.apache.avalon.framework.configuration.Configuration config)
protected void initLogger(org.apache.commons.logging.Log log)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||