com.atlassian.crowd.util
Class SystemInfoHelperImpl

java.lang.Object
  extended by 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
SystemInfoHelperImpl()
           
SystemInfoHelperImpl(DirectoryManager directoryManager)
           
 
Method Summary
 String getApplicationServer()
           
 String getApplicationUsername()
           
 String getArchitecture()
           
 CrowdBootstrapManager getBootstrapManager()
           
 String getCrowdVersion()
           
 String getDatabaseDatasourceJndiName()
           
 String getDatabaseHibernateDialect()
           
 String getDatabaseJdbcDriver()
           
 String getDatabaseJdbcUrl()
           
 String getDatabaseJdbcUsername()
           
 DirectoryManager getDirectoryManager()
           
 String getFileEncoding()
           
 long getFreeMemory()
           
 String getJavaRuntime()
           
 String getJavaVendor()
           
 String getJavaVersion()
           
 String getJavaVMVendor()
           
 String getJavaVMVersion()
           
 String getOperatingSystem()
           
 PropertyManager getPropertyManager()
           
 String getServerId()
           
 String getTimeZone()
           
 long getTotalMemory()
           
 long getUsedMemory()
           
 boolean isDatabaseDatasource()
           
 void printMinimalSystemInfo(org.slf4j.Logger logger)
           
 void printSystemInfo(org.slf4j.Logger logger)
           
 void setBootstrapManager(CrowdBootstrapManager bootstrapManager)
           
 void setDirectoryManager(DirectoryManager directoryManager)
           
 void setPropertyManager(PropertyManager propertyManager)
           
 void setServletContext(javax.servlet.ServletContext servletContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemInfoHelperImpl

public SystemInfoHelperImpl()

SystemInfoHelperImpl

public SystemInfoHelperImpl(DirectoryManager directoryManager)
Method Detail

getApplicationServer

public String getApplicationServer()
Specified by:
getApplicationServer in interface SystemInfoHelper

getTotalMemory

public long getTotalMemory()
Specified by:
getTotalMemory in interface SystemInfoHelper

getFreeMemory

public long getFreeMemory()
Specified by:
getFreeMemory in interface SystemInfoHelper

getUsedMemory

public long getUsedMemory()
Specified by:
getUsedMemory in interface SystemInfoHelper

getOperatingSystem

public String getOperatingSystem()
Specified by:
getOperatingSystem in interface SystemInfoHelper

getJavaVersion

public String getJavaVersion()
Specified by:
getJavaVersion in interface SystemInfoHelper

getJavaVendor

public String getJavaVendor()
Specified by:
getJavaVendor in interface SystemInfoHelper

getJavaRuntime

public String getJavaRuntime()
Specified by:
getJavaRuntime in interface SystemInfoHelper

getFileEncoding

public String getFileEncoding()
Specified by:
getFileEncoding in interface SystemInfoHelper

getApplicationUsername

public String getApplicationUsername()
Specified by:
getApplicationUsername in interface SystemInfoHelper

getArchitecture

public String getArchitecture()
Specified by:
getArchitecture in interface SystemInfoHelper

getCrowdVersion

public String getCrowdVersion()
Specified by:
getCrowdVersion in interface SystemInfoHelper

getTimeZone

public String getTimeZone()
Specified by:
getTimeZone in interface SystemInfoHelper

getJavaVMVersion

public String getJavaVMVersion()
Specified by:
getJavaVMVersion in interface SystemInfoHelper

getJavaVMVendor

public String getJavaVMVendor()
Specified by:
getJavaVMVendor in interface SystemInfoHelper

getServerId

public String getServerId()
Specified by:
getServerId in interface SystemInfoHelper

getDatabaseJdbcDriver

public String getDatabaseJdbcDriver()
Specified by:
getDatabaseJdbcDriver in interface SystemInfoHelper

getDatabaseJdbcUsername

public String getDatabaseJdbcUsername()
Specified by:
getDatabaseJdbcUsername in interface SystemInfoHelper

getDatabaseJdbcUrl

public String getDatabaseJdbcUrl()
Specified by:
getDatabaseJdbcUrl in interface SystemInfoHelper

getDatabaseHibernateDialect

public String getDatabaseHibernateDialect()
Specified by:
getDatabaseHibernateDialect in interface SystemInfoHelper

getDatabaseDatasourceJndiName

public String getDatabaseDatasourceJndiName()
Specified by:
getDatabaseDatasourceJndiName in interface SystemInfoHelper

isDatabaseDatasource

public boolean isDatabaseDatasource()
Specified by:
isDatabaseDatasource in interface SystemInfoHelper

printMinimalSystemInfo

public void printMinimalSystemInfo(org.slf4j.Logger logger)
Specified by:
printMinimalSystemInfo in interface SystemInfoHelper

printSystemInfo

public void printSystemInfo(org.slf4j.Logger logger)
Specified by:
printSystemInfo in interface SystemInfoHelper

getPropertyManager

public PropertyManager getPropertyManager()

setPropertyManager

public void setPropertyManager(PropertyManager propertyManager)

setServletContext

public void setServletContext(javax.servlet.ServletContext servletContext)
Specified by:
setServletContext in interface org.springframework.web.context.ServletContextAware

getBootstrapManager

public CrowdBootstrapManager getBootstrapManager()

setBootstrapManager

public void setBootstrapManager(CrowdBootstrapManager bootstrapManager)

getDirectoryManager

public DirectoryManager getDirectoryManager()

setDirectoryManager

public void setDirectoryManager(DirectoryManager directoryManager)


Copyright © 2012 Atlassian. All Rights Reserved.