com.atlassian.jira.ofbiz
Interface OfBizConnectionFactory

All Known Implementing Classes:
DefaultOfBizConnectionFactory

public interface OfBizConnectionFactory

Connection factory for finding out about OfBiz connections and datasources


Method Summary
 Connection getConnection()
          Get a connection
 org.ofbiz.core.entity.config.DatasourceInfo getDatasourceInfo()
          Get the datasource info
 String getDelegatorName()
          Get the delegator name
 

Method Detail

getConnection

Connection getConnection()
                         throws SQLException
Get a connection

Returns:
Returns a database connection
Throws:
SQLException - If an error occured

getDatasourceInfo

org.ofbiz.core.entity.config.DatasourceInfo getDatasourceInfo()
Get the datasource info

Returns:
The datasource info

getDelegatorName

String getDelegatorName()
Get the delegator name

Returns:
The name of the delegator


Copyright © 2002-2014 Atlassian. All Rights Reserved.