public class DefaultOfBizConnectionFactory extends Object implements OfBizConnectionFactory
Constructor and Description |
---|
DefaultOfBizConnectionFactory() |
Modifier and Type | Method and Description |
---|---|
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() |
public static DefaultOfBizConnectionFactory getInstance()
public Connection getConnection() throws SQLException, DataAccessException
OfBizConnectionFactory
getConnection
in interface OfBizConnectionFactory
SQLException
- If an error occuredDataAccessException
public org.ofbiz.core.entity.config.DatasourceInfo getDatasourceInfo()
OfBizConnectionFactory
getDatasourceInfo
in interface OfBizConnectionFactory
public String getDelegatorName()
OfBizConnectionFactory
getDelegatorName
in interface OfBizConnectionFactory
public void resetInstance()
Copyright © 2002-2022 Atlassian. All Rights Reserved.