com.atlassian.jira.config.database
Class SystemTenantDatabaseConfigurationLoader

java.lang.Object
  extended by com.atlassian.jira.config.database.AbstractJiraHomeDatabaseConfigurationLoader
      extended by com.atlassian.jira.config.database.SystemTenantDatabaseConfigurationLoader
All Implemented Interfaces:
DatabaseConfigurationLoader

public class SystemTenantDatabaseConfigurationLoader
extends AbstractJiraHomeDatabaseConfigurationLoader

Class that loads and persists database configuration by loading from and saving to AbstractJiraHomeDatabaseConfigurationLoader.FILENAME_DBCONFIG in the JIRA home directory. This implementation is designed for the SystemTenant - in MultiTenant mode, use MultiTenantDatabaseConfigurationLoader

Since:
v4.4

Field Summary
 
Fields inherited from class com.atlassian.jira.config.database.AbstractJiraHomeDatabaseConfigurationLoader
FILENAME_DBCONFIG
 
Constructor Summary
SystemTenantDatabaseConfigurationLoader(JiraHome jiraHome)
           
 
Method Summary
protected  String getJiraHome()
           
protected  void logInfo(String message)
           
 
Methods inherited from class com.atlassian.jira.config.database.AbstractJiraHomeDatabaseConfigurationLoader
configExists, loadDatabaseConfiguration, saveDatabaseConfiguration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemTenantDatabaseConfigurationLoader

public SystemTenantDatabaseConfigurationLoader(JiraHome jiraHome)
Method Detail

getJiraHome

protected String getJiraHome()
Specified by:
getJiraHome in class AbstractJiraHomeDatabaseConfigurationLoader
Returns:
path to jira's home

logInfo

protected void logInfo(String message)
Specified by:
logInfo in class AbstractJiraHomeDatabaseConfigurationLoader


Copyright © 2002-2012 Atlassian. All Rights Reserved.