Package 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
Modifier and TypeMethodDescriptionGet a connectionorg.ofbiz.core.entity.config.DatasourceInfo
Get the datasource infoGet the delegator name
-
Method Details
-
getConnection
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
-