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

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

public class DataSource
extends java.lang.Object

Class DataSource

Author:
Jeff Drost

Constructor Summary
DataSource()
           
 
Method Summary
 PropertySet createContext()
          Method createContext
 DataSourceFactory createObjectFactory()
          Method createObjectFactory
 java.sql.Connection newConnection()
          Method newConnection
 void setName(java.lang.String name)
          Method setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataSource

public DataSource()
Method Detail

setName

public void setName(java.lang.String name)
Method setName

Parameters:
name -

createObjectFactory

public DataSourceFactory createObjectFactory()
Method createObjectFactory


createContext

public PropertySet createContext()
Method createContext


newConnection

public java.sql.Connection newConnection()
                                  throws ConnectionException,
                                         ConfigException
Method newConnection

Throws:
ConfigException
ConnectionException