|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DataSourceProxy
Allows serializable access to a data source.
Method Summary | |
---|---|
String |
getCreateTableSqlTemplate() Provides an SQL template to create the configuration table. |
DataSource |
getDataSource() Provides access to the data source. |
String |
getDataSourceId() Returns the identifier of the data source. |
String |
getInsertOrUpdateSqlTemplate() Provides an SQL template to insert or update a value in the configuration table. |
void |
setInsertOrUpdate(PreparedStatement statement, String config, String name, String value) Sets the parameters to the given statement to insert or update a property in the configuration table. |
Method Detail |
---|
String getDataSourceId()
DataSource getDataSource()
String getCreateTableSqlTemplate()
String getInsertOrUpdateSqlTemplate()
void setInsertOrUpdate(PreparedStatement statement, String config, String name, String value) throws SQLException
The statement ist provided by getInsertOrUpdateSqlTemplate()
.
statement
- the statement to set the values.
config
- the configuration key.
name
- the property key.
value
- the property value.
SQLException
- on any problem configuring the given
statement
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |