|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.tranql.connector.jdbc.AbstractLocalDataSourceMCF
org.tranql.connector.derby.EmbeddedLocalMCF
public class EmbeddedLocalMCF
ManagedConnectionFactory that wraps a Derby EmbeddedDataSource for use in-VM.
| Field Summary |
|---|
| Fields inherited from class org.tranql.connector.jdbc.AbstractLocalDataSourceMCF |
|---|
dataSource |
| Constructor Summary | |
|---|---|
EmbeddedLocalMCF()
Default constructor for a Derby Embedded Local DataSource. |
|
| Method Summary | |
|---|---|
java.lang.Boolean |
getCreateDatabase()
Return whether the database should be created if it does not already exist. |
java.lang.String |
getDatabaseName()
Return the database name. |
java.lang.String |
getPassword()
Return the password credential used to establish the connection. |
java.lang.String |
getShutdownDatabase()
|
java.lang.String |
getUserName()
Return the user name used to establish the connection. |
void |
setCreateDatabase(java.lang.Boolean create)
Set whether the database should be created if it does not already exist. |
void |
setDatabaseName(java.lang.String name)
Set the database name. |
void |
setPassword(java.lang.String password)
Set the user password credential establish the connection. |
void |
setShutdownDatabase(java.lang.String shutDown)
Set this property if one wishes to shutdown the database identified by databaseName. |
void |
setUserName(java.lang.String user)
Set the user name used establish the connection. |
| Methods inherited from class org.tranql.connector.jdbc.AbstractLocalDataSourceMCF |
|---|
createConnectionFactory, createConnectionFactory, createManagedConnection, equals, getLoginTimeout, getLogWriter, getPhysicalConnection, hashCode, matchManagedConnections, setLoginTimeout, setLogWriter, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EmbeddedLocalMCF()
| Method Detail |
|---|
public java.lang.String getUserName()
public void setUserName(java.lang.String user)
user - the user name used to establish the connection; may be nullpublic java.lang.String getPassword()
public void setPassword(java.lang.String password)
password - the password credential used to establish the connection; may be nullpublic java.lang.String getDatabaseName()
public void setDatabaseName(java.lang.String name)
name - the database namepublic java.lang.Boolean getCreateDatabase()
public void setCreateDatabase(java.lang.Boolean create)
create - TRUE if the database should be createdpublic void setShutdownDatabase(java.lang.String shutDown)
shutdown - - if set to the string "shutdown", this data source will shutdown the
database if it is running.public java.lang.String getShutdownDatabase()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||