public abstract class AbstractDataSourceFactory extends ClassFactoryImpl implements DataSourceFactory
DataSourceFactory
interface.Modifier and Type | Method and Description |
---|---|
ObjectDescription |
getDataSourceDescription(String name)
Returns a data source description.
|
String |
getDataSourceName(ObjectDescription od)
Returns a data source name given a description.
|
Iterator |
getRegisteredNames()
Returns the names of all registered datasources as iterator.
|
void |
registerDataSources(String name,
ObjectDescription o)
Registers a data source.
|
configure, equals, getConfig, getDescriptionForClass, getRegisteredClasses, getSuperClassObjectDescription, hashCode
getClass, notify, notifyAll, toString, wait, wait, wait
configure, equals, getDescriptionForClass, getRegisteredClasses, getSuperClassObjectDescription, hashCode
public void registerDataSources(String name, ObjectDescription o)
name
- the name.o
- the object description.public ObjectDescription getDataSourceDescription(String name)
getDataSourceDescription
in interface DataSourceFactory
name
- the data source name.public String getDataSourceName(ObjectDescription od)
getDataSourceName
in interface DataSourceFactory
od
- the object description.public Iterator getRegisteredNames()
getRegisteredNames
in interface DataSourceFactory