public static class ConfigurationDBRef.DataSourceFactory extends Object implements ConfigurationDBRef.ConnectionFactoryDesc, Serializable
Constructor and Description |
---|
DataSourceFactory(Properties properties,
String factoryClassname)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
void |
addProperty(String name,
String value)
Adds a property.
|
String |
getFactoryClassname()
Returns the class name of the data source factory.
|
Properties |
getProperties()
Returns the properties to pass to the static createDataSource method provided.
|
public DataSourceFactory(Properties properties, String factoryClassname)
properties
- to pass to the data source factoryfactoryClassname
- the class name of the data source factorypublic Properties getProperties()
public String getFactoryClassname()