com.atlassian.jira.multitenant.database
Class DatabaseConfig

java.lang.Object
  extended by com.atlassian.jira.multitenant.database.DatabaseConfig

public class DatabaseConfig
extends Object

The configuration for JIRA to connect to the database


Constructor Summary
DatabaseConfig(String datasourceName, String delegatorName, String databaseType, String schemaName, Datasource datasource)
           
 
Method Summary
 String getDatabaseType()
          Get the database type
 Datasource getDatasource()
          Get the datasource
 org.ofbiz.core.entity.config.DatasourceInfo getDatasourceInfo()
           
 String getDatasourceName()
          Get the name of the data source.
 String getDelegatorName()
          Get the name of the delegate.
 String getSchemaName()
          Get the schema name
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatabaseConfig

public DatabaseConfig(String datasourceName,
                      String delegatorName,
                      String databaseType,
                      String schemaName,
                      Datasource datasource)
Method Detail

getDatasourceName

public String getDatasourceName()
Get the name of the data source. This is also known as the helperName in ofbiz.

Returns:
The name of the data source

getDelegatorName

public String getDelegatorName()
Get the name of the delegate.

Returns:
The name of the delegate.

getDatabaseType

public String getDatabaseType()
Get the database type

Returns:
The database type

getSchemaName

public String getSchemaName()
Get the schema name

Returns:
The schema name

getDatasource

public Datasource getDatasource()
Get the datasource

Returns:
The datasource

getDatasourceInfo

public org.ofbiz.core.entity.config.DatasourceInfo getDatasourceInfo()


Copyright © 2002-2011 Atlassian. All Rights Reserved.