Package com.atlassian.crowd.util
Class SystemInfoHelperImpl
java.lang.Object
com.atlassian.crowd.util.SystemInfoHelperImpl
- All Implemented Interfaces:
SystemInfoHelper
,org.springframework.beans.factory.Aware
,org.springframework.web.context.ServletContextAware
public class SystemInfoHelperImpl
extends Object
implements SystemInfoHelper, org.springframework.web.context.ServletContextAware
-
Field Summary
Fields inherited from interface com.atlassian.crowd.util.SystemInfoHelper
MEGABYTE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
long
long
boolean
boolean
void
printMinimalSystemInfo
(org.slf4j.Logger logger) void
printSystemInfo
(org.slf4j.Logger logger) void
setBootstrapManager
(CrowdBootstrapManager bootstrapManager) void
setDirectoryManager
(DirectoryManager directoryManager) void
setEnvironmentDrivenDatabaseConfigurationListener
(EnvironmentDrivenDatabaseConfigurationListener environmentDrivenDatabaseConfigurationListener) void
setPropertyManager
(PropertyManager propertyManager) void
setServletContext
(javax.servlet.ServletContext servletContext)
-
Constructor Details
-
SystemInfoHelperImpl
public SystemInfoHelperImpl() -
SystemInfoHelperImpl
-
-
Method Details
-
getApplicationServer
- Specified by:
getApplicationServer
in interfaceSystemInfoHelper
-
getTotalMemory
public long getTotalMemory()- Specified by:
getTotalMemory
in interfaceSystemInfoHelper
-
getFreeMemory
public long getFreeMemory()- Specified by:
getFreeMemory
in interfaceSystemInfoHelper
-
getUsedMemory
public long getUsedMemory()- Specified by:
getUsedMemory
in interfaceSystemInfoHelper
-
getOperatingSystem
- Specified by:
getOperatingSystem
in interfaceSystemInfoHelper
-
getJavaVersion
- Specified by:
getJavaVersion
in interfaceSystemInfoHelper
-
getJavaVendor
- Specified by:
getJavaVendor
in interfaceSystemInfoHelper
-
getJavaRuntime
- Specified by:
getJavaRuntime
in interfaceSystemInfoHelper
-
getJavaLocale
- Specified by:
getJavaLocale
in interfaceSystemInfoHelper
-
getFileEncoding
- Specified by:
getFileEncoding
in interfaceSystemInfoHelper
-
getApplicationUsername
- Specified by:
getApplicationUsername
in interfaceSystemInfoHelper
-
getArchitecture
- Specified by:
getArchitecture
in interfaceSystemInfoHelper
-
getCrowdVersion
- Specified by:
getCrowdVersion
in interfaceSystemInfoHelper
-
getTimeZone
- Specified by:
getTimeZone
in interfaceSystemInfoHelper
-
getJavaVMVersion
- Specified by:
getJavaVMVersion
in interfaceSystemInfoHelper
-
getJavaVMVendor
- Specified by:
getJavaVMVendor
in interfaceSystemInfoHelper
-
getServerId
- Specified by:
getServerId
in interfaceSystemInfoHelper
-
getDatabaseJdbcDriver
- Specified by:
getDatabaseJdbcDriver
in interfaceSystemInfoHelper
-
getDatabaseJdbcUsername
- Specified by:
getDatabaseJdbcUsername
in interfaceSystemInfoHelper
-
getDatabaseJdbcUrl
- Specified by:
getDatabaseJdbcUrl
in interfaceSystemInfoHelper
-
getDatabaseHibernateDialect
- Specified by:
getDatabaseHibernateDialect
in interfaceSystemInfoHelper
-
getDatabaseDatasourceJndiName
- Specified by:
getDatabaseDatasourceJndiName
in interfaceSystemInfoHelper
-
isDatabaseDatasource
public boolean isDatabaseDatasource()- Specified by:
isDatabaseDatasource
in interfaceSystemInfoHelper
-
isDatabaseConfigFromEnvVariables
public boolean isDatabaseConfigFromEnvVariables()- Specified by:
isDatabaseConfigFromEnvVariables
in interfaceSystemInfoHelper
-
printMinimalSystemInfo
public void printMinimalSystemInfo(org.slf4j.Logger logger) - Specified by:
printMinimalSystemInfo
in interfaceSystemInfoHelper
-
printSystemInfo
public void printSystemInfo(org.slf4j.Logger logger) - Specified by:
printSystemInfo
in interfaceSystemInfoHelper
-
getPropertyManager
-
setPropertyManager
-
setServletContext
public void setServletContext(javax.servlet.ServletContext servletContext) - Specified by:
setServletContext
in interfaceorg.springframework.web.context.ServletContextAware
-
getBootstrapManager
-
setBootstrapManager
-
getDirectoryManager
-
setDirectoryManager
-
setEnvironmentDrivenDatabaseConfigurationListener
public void setEnvironmentDrivenDatabaseConfigurationListener(EnvironmentDrivenDatabaseConfigurationListener environmentDrivenDatabaseConfigurationListener)
-