|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ctakes.core.resource.JdbcConnectionResourceImpl
public class JdbcConnectionResourceImpl
Implementation of JdbcConnectionResource. Uses the WrappedConnection from the MIR Utility project mostly for it's auto-reconnect capability.
Field Summary | |
---|---|
static String |
PARAM_DRIVER_CLASS
JDBC driver ClassName. |
static String |
PARAM_ISOLATION
Transaction isolation level. |
static String |
PARAM_KEEP_ALIVE
Flag that determines whether to keep JDBC connection open no matter what. |
static String |
PARAM_PASSWORD
Password for db authentication. |
static String |
PARAM_URL
JDBC URL that specifies db network location and db name. |
static String |
PARAM_USERNAME
Username for db authentication. |
Constructor Summary | |
---|---|
JdbcConnectionResourceImpl()
|
Method Summary | |
---|---|
Connection |
getConnection()
Gets the JDBC connection. |
void |
load(org.apache.uima.resource.DataResource dr)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String PARAM_DRIVER_CLASS
public static final String PARAM_URL
public static final String PARAM_USERNAME
public static final String PARAM_PASSWORD
public static final String PARAM_KEEP_ALIVE
public static final String PARAM_ISOLATION
Constructor Detail |
---|
public JdbcConnectionResourceImpl()
Method Detail |
---|
public void load(org.apache.uima.resource.DataResource dr) throws org.apache.uima.resource.ResourceInitializationException
load
in interface org.apache.uima.resource.SharedResourceObject
org.apache.uima.resource.ResourceInitializationException
public Connection getConnection()
JdbcConnectionResource
getConnection
in interface JdbcConnectionResource
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |