|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.objectweb.medor.datasource.lib.MedorWrapperFactory
A simple implementation of the WrapperFactory interface... Wrappers are used to fetch data, so the same wrapper type can be used many times.
| Constructor Summary | |
MedorWrapperFactory()
|
|
| Method Summary | |
void |
bindDataStoreToWrapper(short dataStoreType,
java.lang.Class wrapperClass)
For a given data store type, associates a Wrapper class. |
Wrapper |
getWrapper(DataStore dl)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MedorWrapperFactory()
| Method Detail |
public Wrapper getWrapper(DataStore dl)
throws DataSourceException
getWrapper in interface WrapperFactoryDataSourceException
public void bindDataStoreToWrapper(short dataStoreType,
java.lang.Class wrapperClass)
throws DataSourceException
WrapperFactory
bindDataStoreToWrapper in interface WrapperFactorydataStoreType - is the type of data store
(DataStore.getDataStoreType())wrapperClass - is the java Class for the associated Wrapper.
DataSourceException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||