|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DataSourceDefinition
Method Summary | |
---|---|
DataSource |
createDataSource(java.lang.String tableName,
java.lang.String tableAlias)
Creates a DataSource with the information of this object |
void |
freeResources()
if any, frees the resources taken when the DataSource was created |
java.lang.String |
getName()
Gets the name of this DataSourceDefinition |
void |
setDataSourceFactory(DataSourceFactory dsf)
Gives to the DataSourceDefinition a reference of the DataSourceFactory where the DataSourceDefinition is registered |
void |
setName(java.lang.String name)
Sets the name of this DataSourceDefinition |
Method Detail |
---|
DataSource createDataSource(java.lang.String tableName, java.lang.String tableAlias) throws DataSourceCreationException
tableName
- name of the DataSourcetableAlias
- alias of the DataSource
DataSourceCreationException
void freeResources() throws DataSourceFinalizationException
DataSourceFinalizationException
- If the operation failsvoid setDataSourceFactory(DataSourceFactory dsf)
dsf
- java.lang.String getName()
void setName(java.lang.String name)
name
- String
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |