public class DefaultSystemInformationService extends Object implements SystemInformationService
Default implementation of the SystemInformationService
. This implementation performs
no authorization checking of the calls made, allowing it to be used across non-authorized situations
such as on the 500 error page, and the SystemErrorLogger.
This implementation makes no attempt at caching the returned info beans so be aware that each call will be returning a new instance.
JDBC_DRIVER_SYSTEM_PROPERTY
Constructor and Description |
---|
DefaultSystemInformationService() |
public ConfluenceInfo getConfluenceInfo()
getConfluenceInfo
in interface SystemInformationService
public DatabaseInfo getDatabaseInfo()
getDatabaseInfo
in interface SystemInformationService
public DatabaseInfo getSafeDatabaseInfo()
getSafeDatabaseInfo
in interface SystemInformationService
public SystemInfo getSystemProperties()
getSystemProperties
in interface SystemInformationService
public MemoryInfo getMemoryInfo()
getMemoryInfo
in interface SystemInformationService
public UsageInfo getUsageInfo()
getUsageInfo
in interface SystemInformationService
public SystemInfoFromDb getSystemInfoFromDb()
getSystemInfoFromDb
in interface SystemInformationService
public void setBootstrapManager(BootstrapManager bootstrapManager)
public void setSessionFactory(org.hibernate.SessionFactory sessionFactory)
public void setPluginAccessor(com.atlassian.plugin.PluginAccessor pluginAccessor)
public void setSettingsManager(SettingsManager settingsManager)
public void setSidManager(ConfluenceSidManager sidManager)
public void setRegistry(HashRegistryCache registry)
public void setHibernateConfig(com.atlassian.config.db.HibernateConfig hibernateConfig)
public Map<String,String> getModifications()
getModifications
in interface SystemInformationService
public boolean isShowInfoOn500()
isShowInfoOn500
in interface SystemInformationService
public I18NBean getI18NBean()
public void setI18NBean(I18NBean i18NBean)
public void setI18NBeanFactory(I18NBeanFactory i18NBeanFactory)
public void setBandanaManager(com.atlassian.bandana.BandanaManager bandanaManager)
public void setLicenseService(LicenseService licenseService)
public void setDateFormatterFactory(DateFormatterFactory dateFormatterFactory)
Copyright © 2003–2017 Atlassian. All rights reserved.