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