|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DataSourceFactory
DataSourceFactories create instances of DataSources.
DataSources are globally typed using URIs. This makes it possible to talk about specific types of DataSources outside the scope of a Java application and makes sharing of DataSources over technical boundaries such as platforms and programming languages possible. Each DataSourceFactory should be able to tell which DataSource type it supports, and thus which configurable properties the returned DataSource will have, by returning the DataSource type identifier as a URI.
Method Summary | |
---|---|
boolean |
getDescription(Model model)
Puts a description of this data source into the given model. |
URI |
getSupportedType()
Returns the URI of the supported DataSource type. |
DataSource |
newInstance()
Returns a new instance of the supported DataSource type. |
Method Detail |
---|
URI getSupportedType()
DataSource newInstance()
boolean getDescription(Model model)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |