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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlonglonglongbooleanbooleanvoidprintMinimalSystemInfo(org.slf4j.Logger logger) voidprintSystemInfo(org.slf4j.Logger logger) voidsetBootstrapManager(CrowdBootstrapManager bootstrapManager) voidsetDirectoryManager(DirectoryManager directoryManager) voidsetEnvironmentDrivenDatabaseConfigurationListener(EnvironmentDrivenDatabaseConfigurationListener environmentDrivenDatabaseConfigurationListener) voidsetPropertyManager(PropertyManager propertyManager) voidsetServletContext(jakarta.servlet.ServletContext servletContext)
-
Constructor Details
-
SystemInfoHelperImpl
public SystemInfoHelperImpl() -
SystemInfoHelperImpl
-
-
Method Details
-
getApplicationServer
- Specified by:
getApplicationServerin interfaceSystemInfoHelper
-
getTotalMemory
public long getTotalMemory()- Specified by:
getTotalMemoryin interfaceSystemInfoHelper
-
getFreeMemory
public long getFreeMemory()- Specified by:
getFreeMemoryin interfaceSystemInfoHelper
-
getUsedMemory
public long getUsedMemory()- Specified by:
getUsedMemoryin interfaceSystemInfoHelper
-
getOperatingSystem
- Specified by:
getOperatingSystemin interfaceSystemInfoHelper
-
getJavaVersion
- Specified by:
getJavaVersionin interfaceSystemInfoHelper
-
getJavaVendor
- Specified by:
getJavaVendorin interfaceSystemInfoHelper
-
getJavaRuntime
- Specified by:
getJavaRuntimein interfaceSystemInfoHelper
-
getJavaLocale
- Specified by:
getJavaLocalein interfaceSystemInfoHelper
-
getFileEncoding
- Specified by:
getFileEncodingin interfaceSystemInfoHelper
-
getApplicationUsername
- Specified by:
getApplicationUsernamein interfaceSystemInfoHelper
-
getArchitecture
- Specified by:
getArchitecturein interfaceSystemInfoHelper
-
getCrowdVersion
- Specified by:
getCrowdVersionin interfaceSystemInfoHelper
-
getTimeZone
- Specified by:
getTimeZonein interfaceSystemInfoHelper
-
getTimeZoneId
- Specified by:
getTimeZoneIdin interfaceSystemInfoHelper
-
getJavaVMVersion
- Specified by:
getJavaVMVersionin interfaceSystemInfoHelper
-
getJavaVMVendor
- Specified by:
getJavaVMVendorin interfaceSystemInfoHelper
-
getServerId
- Specified by:
getServerIdin interfaceSystemInfoHelper
-
getDatabaseJdbcDriver
- Specified by:
getDatabaseJdbcDriverin interfaceSystemInfoHelper
-
getDatabaseJdbcUsername
- Specified by:
getDatabaseJdbcUsernamein interfaceSystemInfoHelper
-
getDatabaseJdbcUrl
- Specified by:
getDatabaseJdbcUrlin interfaceSystemInfoHelper
-
getDatabaseHibernateDialect
- Specified by:
getDatabaseHibernateDialectin interfaceSystemInfoHelper
-
getDatabaseDatasourceJndiName
- Specified by:
getDatabaseDatasourceJndiNamein interfaceSystemInfoHelper
-
isDatabaseDatasource
public boolean isDatabaseDatasource()- Specified by:
isDatabaseDatasourcein interfaceSystemInfoHelper
-
isDatabaseConfigFromEnvVariables
public boolean isDatabaseConfigFromEnvVariables()- Specified by:
isDatabaseConfigFromEnvVariablesin interfaceSystemInfoHelper
-
printMinimalSystemInfo
public void printMinimalSystemInfo(org.slf4j.Logger logger) - Specified by:
printMinimalSystemInfoin interfaceSystemInfoHelper
-
printSystemInfo
public void printSystemInfo(org.slf4j.Logger logger) - Specified by:
printSystemInfoin interfaceSystemInfoHelper
-
getPropertyManager
-
setPropertyManager
-
setServletContext
public void setServletContext(jakarta.servlet.ServletContext servletContext) - Specified by:
setServletContextin interfaceorg.springframework.web.context.ServletContextAware
-
getBootstrapManager
-
setBootstrapManager
-
getDirectoryManager
-
setDirectoryManager
-
setEnvironmentDrivenDatabaseConfigurationListener
public void setEnvironmentDrivenDatabaseConfigurationListener(EnvironmentDrivenDatabaseConfigurationListener environmentDrivenDatabaseConfigurationListener)
-