|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A data source is a factory for a facade of some type of data service. It is the responsibility of the DataSource implementor to initialize the facade properly. Examples of facades include be a EJB session bean, a web service proxy, and a JavaBean factory.
| Method Summary | |
java.lang.Object |
getDataSource()
Get an an instance for a data source facade that is initialized properly and whose services are available. |
java.lang.Class |
getType()
In design time, this method will be used to reflect on the services that are available from the implemented data source |
void |
setDataSource(java.lang.Object facade)
Set an instance of a facade to become the data source |
| Method Detail |
public java.lang.Class getType()
public java.lang.Object getDataSource()
if (java.beans.Beans.isDesignTime()) { return null; }
public void setDataSource(java.lang.Object facade)
facade - the data source
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||