org.objectweb.medor.datasource.lib

Class MedorWrapperFactory

Implemented Interfaces:
WrapperFactory

public class MedorWrapperFactory
extends java.lang.Object
implements WrapperFactory

A simple implementation of the WrapperFactory interface... Wrappers are used to fetch data, so the same wrapper type can be used many times.

Method Summary

void
bindDataStoreToWrapper(short dataStoreType, Class wrapperClass)
Wrapper
getWrapper(DataStore dl)

Method Details

bindDataStoreToWrapper

public void bindDataStoreToWrapper(short dataStoreType,
                                   Class wrapperClass)
            throws DataSourceException


getWrapper

public Wrapper getWrapper(DataStore dl)
            throws DataSourceException
Specified by:
getWrapper in interface WrapperFactory