|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.webdocwf.util.loader.DBConnectionManager
DBConnectionManager class creates all connection to database.
Field Summary | |
java.lang.String |
connectinPrefix
|
boolean |
fileSystemDatabase
|
java.lang.String |
loaderJobPath
|
Constructor Summary | |
DBConnectionManager(java.util.Vector allConnections)
This method set all connection into vector |
Method Summary | |
java.sql.Connection |
getConnection(java.lang.String name)
This method get connection from connection pool |
void |
release(java.lang.String exception)
This method release (close) all connection and deregister all drivers |
void |
setConnectionPrefix(java.lang.String prefix)
This method set connection prefix |
void |
setLoaderJobPath(java.lang.String loaderJob)
This method set path to LoaderJob.olj file |
void |
setParsePermission(boolean doParse)
This method set the value of fileSystemDatabase parameter |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public java.lang.String loaderJobPath
public java.lang.String connectinPrefix
public boolean fileSystemDatabase
Constructor Detail |
public DBConnectionManager(java.util.Vector allConnections)
allConnections
- represents all connection propertyMethod Detail |
public void setLoaderJobPath(java.lang.String loaderJob)
loaderJob
- represents string path to LoaderJob.olj filepublic void setConnectionPrefix(java.lang.String prefix)
prefix
- is value of connection prefixpublic void setParsePermission(boolean doParse)
doParse
- is value of parameterpublic java.sql.Connection getConnection(java.lang.String name)
name
- is the name of the pool
public void release(java.lang.String exception)
exception
- defines if application calls release from exception method or not
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |