org.shiftone.exq.impl.connection
Class ConnectionMetaData

java.lang.Object
  extended byorg.shiftone.exq.impl.config.AbstractMetaDataBase
      extended byorg.shiftone.exq.impl.connection.ConnectionMetaData

public class ConnectionMetaData
extends AbstractMetaDataBase

Class ConnectionMetaData

Author:
Jeff Drost

Field Summary
(package private)  Connector connector
           
protected  java.lang.String resourcePath
           
 
Fields inherited from class org.shiftone.exq.impl.config.AbstractMetaDataBase
LOG
 
Constructor Summary
ConnectionMetaData(java.lang.String resourcePath)
          Constructor ConnectionMetaData
 
Method Summary
 java.sql.Connection getConnection()
          Method getConnection actually creates a database connection based on the metaData's current configuration.
 Connector getConnector()
          Method getConnector
protected  java.lang.Object getRootBean()
          Method getRootBean
 
Methods inherited from class org.shiftone.exq.impl.config.AbstractMetaDataBase
getName, getResourcePath, initialize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

resourcePath

protected java.lang.String resourcePath

connector

Connector connector
Constructor Detail

ConnectionMetaData

public ConnectionMetaData(java.lang.String resourcePath)
                   throws ConfigException
Constructor ConnectionMetaData

Parameters:
resourcePath -
Throws:
ConfigException
Method Detail

getRootBean

protected java.lang.Object getRootBean()
Method getRootBean

Specified by:
getRootBean in class AbstractMetaDataBase

getConnector

public Connector getConnector()
Method getConnector


getConnection

public java.sql.Connection getConnection()
                                  throws ConnectionException,
                                         ConfigException
Method getConnection actually creates a database connection based on the metaData's current configuration.

Throws:
ConfigException
ConnectionException