org.shiftone.exq.impl.config.types
Class DataSourceFactory

java.lang.Object
  extended byorg.shiftone.exq.impl.config.types.DataSourceFactory

public class DataSourceFactory
extends java.lang.Object

Class DataSourceFactory

Author:
Jeff Drost

Constructor Summary
DataSourceFactory()
          Constructor DataSourceFactory
 
Method Summary
 PropertySet createParameters()
          Method createParameters
 javax.sql.DataSource getDataSource()
          Method getDataSource
 javax.sql.DataSource loadDataSource()
          Method getDataSource
 void setFactory(java.lang.String factoryName)
          oracle.jdbc.pool.OracleDataSourceFactory
 void setName(java.lang.String name)
          jdbc/drmDb
 void setType(java.lang.String type)
          oracle.jdbc.pool.OracleConnectionCacheImpl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataSourceFactory

public DataSourceFactory()
Constructor DataSourceFactory

Method Detail

createParameters

public PropertySet createParameters()
Method createParameters


setName

public void setName(java.lang.String name)
jdbc/drmDb

Parameters:
name -

setType

public void setType(java.lang.String type)
oracle.jdbc.pool.OracleConnectionCacheImpl

Parameters:
type -

setFactory

public void setFactory(java.lang.String factoryName)
oracle.jdbc.pool.OracleDataSourceFactory

Parameters:
factoryName -

loadDataSource

public javax.sql.DataSource loadDataSource()
                                    throws ConfigException
Method getDataSource

Throws:
ConfigException

getDataSource

public javax.sql.DataSource getDataSource()
                                   throws ConfigException
Method getDataSource

Throws:
ConfigException