|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DataSourceProvider
Datasource providers are especially used to get datasource references back from ids, during internalization, and to get optional information (if any) about the datasources, during serialization.
| Method Summary | |
|---|---|
java.lang.Object |
getOptionalInformation(DataSource ds,
DataSourceCollection dsc)
Asks this provider some optional information about a datasource and possibly its collection. |
DataSource |
provide(java.lang.String id,
java.lang.String dscId,
java.lang.Object optionalInformation,
DataSourcePool pool)
Asks this provider to resolve a symbolic datasource reference. |
| Method Detail |
|---|
java.lang.Object getOptionalInformation(DataSource ds,
DataSourceCollection dsc)
ds - The datasourcedsc - The datasource collection, or null.
DataSource provide(java.lang.String id,
java.lang.String dscId,
java.lang.Object optionalInformation,
DataSourcePool pool)
id - The symbolic id of a datasourcedscId - The symbolic id of a datasourceCollection. May be nulloptionalInformation - Can be set to help this provider. May be nullpool - DataSourcePool in which to add the source and collection if
they can be provided. May be null.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||