|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jfw.database.DataSourceProxy
public final class DataSourceProxy
Distribute data sources.
Constructor Summary | |
---|---|
DataSourceProxy()
|
Method Summary | |
---|---|
static javax.sql.DataSource |
get(java.lang.String dsName)
Get a data source. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DataSourceProxy()
Method Detail |
---|
public static javax.sql.DataSource get(java.lang.String dsName) throws java.lang.Exception
dataSources
then
the method create(java.lang.String)
is called for get one.
dsName
- the data source name as defined in key
db_resources_names of file jfw.properties.
DataSource
object.
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |