| java.lang.Object org.continuent.sequoia.driver.DataSourceFactory
DataSourceFactory | public class DataSourceFactory implements ObjectFactory(Code) | | DataSource factory for to implement Referenceable .
The factory serves for the
DataSource ,PooledDataSource ,
and XADataSource classes.
author: Marek Prochazka version: 1.0 |
dataSourceClassName | final protected String dataSourceClassName(Code) | | DataSource classnames.
|
poolDataSourceName | final protected String poolDataSourceName(Code) | | |
xaDataSourceName | final protected String xaDataSourceName(Code) | | |
getObjectInstance | public Object getObjectInstance(Object objRef, Name name, Context nameCtx, Hashtable env) throws Exception(Code) | | Gets an instance of the requested DataSource object.
Parameters: objRef - object containing location or reference information that isused to create an object instance (could be null ). Parameters: name - name of this object relative to specified nameCtx (could be null ). Parameters: nameCtx - name context (could ne null if the default initial contextis used). Parameters: env - environment to use (could be null if default is used) a newly created instance of Sequoia DataSource, null if an error occurred. throws: Exception - if an error occurs when creating the object instance. |
|
|