com.atlassian.jira.ofbiz
Class DefaultOfBizConnectionFactory

java.lang.Object
  extended by com.atlassian.jira.ofbiz.DefaultOfBizConnectionFactory
All Implemented Interfaces:
OfBizConnectionFactory

public class DefaultOfBizConnectionFactory
extends Object
implements OfBizConnectionFactory

Copyright All Rights Reserved. Created: christo 12/10/2006 15:50:59


Constructor Summary
DefaultOfBizConnectionFactory()
           
 
Method Summary
 Connection getConnection()
          Get a connection
 org.ofbiz.core.entity.config.DatasourceInfo getDatasourceInfo()
          Get the datasource info
 String getDelegatorName()
          Get the delegator name
static DefaultOfBizConnectionFactory getInstance()
           
 void resetInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultOfBizConnectionFactory

public DefaultOfBizConnectionFactory()
Method Detail

getInstance

public static DefaultOfBizConnectionFactory getInstance()

getConnection

public Connection getConnection()
                         throws SQLException,
                                DataAccessException
Description copied from interface: OfBizConnectionFactory
Get a connection

Specified by:
getConnection in interface OfBizConnectionFactory
Returns:
Returns a database connection
Throws:
SQLException - If an error occured
DataAccessException

getDatasourceInfo

public org.ofbiz.core.entity.config.DatasourceInfo getDatasourceInfo()
Description copied from interface: OfBizConnectionFactory
Get the datasource info

Specified by:
getDatasourceInfo in interface OfBizConnectionFactory
Returns:
The datasource info

getDelegatorName

public String getDelegatorName()
Description copied from interface: OfBizConnectionFactory
Get the delegator name

Specified by:
getDelegatorName in interface OfBizConnectionFactory
Returns:
The name of the delegator

resetInstance

public void resetInstance()


Copyright © 2002-2015 Atlassian. All Rights Reserved.