|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DatabaseActionInfo
Abstract interface that defines methods to provide database actions with information about how to connect to a database. By default, the database connection from the flow context is used. Alternately, a data source or JDBC connection information to a different database can be specified.
Method Summary | |
---|---|
java.lang.String |
getDataSource()
Returns the name of an application server's data source used to retrieve database connections. |
java.lang.String |
getDataSourceInitialContextFactory()
Returns the initial context factory used to lookup an application server's data source for retrieving database connections. |
java.lang.String |
getDataSourceInitialContextPassword()
Returns the password used to access an application server. |
java.lang.String |
getDataSourceInitialContextProviderUrl()
Returns the network location used to lookup an application server's data source for retrieving database connections. |
java.lang.String |
getDataSourceInitialContextUsername()
Returns the username used to access an application server. |
java.lang.String |
getDataSourcePassword()
Returns the password used to access a data source in an application server. |
java.lang.String |
getDataSourceUsername()
Returns the username used to access a data source in an application server. |
java.lang.String |
getJdbcDriver()
Returns the JDBC driver class name that is used to lookup direct connections to a database. |
java.lang.String |
getJdbcPassword()
Returns the password that is used to lookup direct connections to a database. |
java.lang.String |
getJdbcUrl()
Returns the network location of a database for looking up direct connections to a database. |
java.lang.String |
getJdbcUsername()
Returns the username that is used to lookup direct connections to a database. |
boolean |
isBuiltinDatabaseConnectionUsed()
Indicates whether the database connection from the flow context, and thus the engine that is running this action, is used. |
void |
setBuiltinDatabaseConnectionUsed(boolean enabled)
Sets whether the database connection from the flow context, and thus the engine that is running this action, is used. |
void |
setDataSource(java.lang.String dataSource)
Sets the name of an application server's data source used to retrieve database connections. |
void |
setDataSourceInitialContextFactory(java.lang.String initialContextFactory)
Sets the initial context factory used to lookup an application server's data source for retrieving database connections. |
void |
setDataSourceInitialContextPassword(java.lang.String initialContextPassword)
Sets the password used to access an application server. |
void |
setDataSourceInitialContextProviderUrl(java.lang.String providerUrl)
Sets the network location used to lookup an application server's data source for retrieving database connections. |
void |
setDataSourceInitialContextUsername(java.lang.String initialContextUsername)
Sets the username used to access an application server. |
void |
setDataSourcePassword(java.lang.String password)
Sets the password used to access a data source in an application server. |
void |
setDataSourceUsername(java.lang.String username)
Sets the username used to access a data source in an application server. |
void |
setJdbcDriver(java.lang.String driver)
Sets the JDBC driver class name that is used to lookup direct connections to a database. |
void |
setJdbcPassword(java.lang.String jdbcPassword)
Sets the password that is used to lookup direct connections to a database. |
void |
setJdbcUrl(java.lang.String url)
Sets the network location of the database for looking up direct connections to a database. |
void |
setJdbcUsername(java.lang.String jdbcUsername)
Sets the username that is used to lookup direct connections to a database. |
Methods inherited from interface flux.runtimedatamap.RuntimeDataMap |
---|
getRuntimeDataMap, setRuntimeDataMap |
Method Detail |
---|
java.lang.String getDataSource()
java.lang.String getDataSourceInitialContextFactory()
java.lang.String getDataSourceInitialContextPassword()
java.lang.String getDataSourceInitialContextProviderUrl()
java.lang.String getDataSourceInitialContextUsername()
java.lang.String getDataSourcePassword()
java.lang.String getDataSourceUsername()
java.lang.String getJdbcDriver()
java.lang.String getJdbcPassword()
java.lang.String getJdbcUrl()
java.lang.String getJdbcUsername()
boolean isBuiltinDatabaseConnectionUsed()
void setBuiltinDatabaseConnectionUsed(boolean enabled)
enabled
- An indication whether the database connection from the flow
context is used.void setDataSource(java.lang.String dataSource)
dataSource
- An application server's data source used to retrieve
database connections.void setDataSourceInitialContextFactory(java.lang.String initialContextFactory)
initialContextFactory
- The initial context factory used to lookup an
application server's data source for
retrieving database connections.void setDataSourceInitialContextPassword(java.lang.String initialContextPassword)
initialContextPassword
- The password used to access an application
server.void setDataSourceInitialContextProviderUrl(java.lang.String providerUrl)
providerUrl
- The network location used to lookup an application
server's data source for retrieving database
connections.void setDataSourceInitialContextUsername(java.lang.String initialContextUsername)
initialContextUsername
- The username used to access an application
server.void setDataSourcePassword(java.lang.String password)
password
- The password used to access a data source in an application
server.void setDataSourceUsername(java.lang.String username)
username
- The username used to access a data source in an application
server.void setJdbcDriver(java.lang.String driver)
driver
- The JDBC driver class name that is used to lookup direct
connections to a database.void setJdbcPassword(java.lang.String jdbcPassword)
jdbcPassword
- The password that is used to lookup direct connections
to a database.void setJdbcUrl(java.lang.String url)
url
- The network location of the database for looking up direct
connections to a database.void setJdbcUsername(java.lang.String jdbcUsername)
jdbcUsername
- The username that is used to lookup direct connections
to a database.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |