com.atlassian.crowd.util
Class SystemInfoHelperImpl

java.lang.Object
  extended by com.atlassian.crowd.util.SystemInfoHelperImpl
All Implemented Interfaces:
SystemInfoHelper, org.springframework.web.context.ServletContextAware

public class SystemInfoHelperImpl
extends java.lang.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
 java.lang.String getApplicationServer()
           
 java.lang.String getApplicationUsername()
           
 java.lang.String getArchitecture()
           
 CrowdBootstrapManager getBootstrapManager()
           
 java.lang.String getCrowdVersion()
           
 java.lang.String getDatabaseDatasourceJndiName()
           
 java.lang.String getDatabaseHibernateDialect()
           
 java.lang.String getDatabaseJdbcDriver()
           
 java.lang.String getDatabaseJdbcUrl()
           
 java.lang.String getDatabaseJdbcUsername()
           
 DirectoryManager getDirectoryManager()
           
 long getFreeMemory()
           
 java.lang.String getJavaRuntime()
           
 java.lang.String getJavaVendor()
           
 java.lang.String getJavaVersion()
           
 java.lang.String getJavaVMVendor()
           
 java.lang.String getJavaVMVersion()
           
 java.lang.String getOperatingSystem()
           
 PropertyManager getPropertyManager()
           
 java.lang.String getServerId()
           
 java.lang.String getTimeZone()
           
 long getTotalMemory()
           
 long getUsedMemory()
           
 boolean isDatabaseDatasource()
           
 void printMinimalSystemInfo(org.apache.log4j.Logger logger)
           
 void printSystemInfo(org.apache.log4j.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 java.lang.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 java.lang.String getOperatingSystem()
Specified by:
getOperatingSystem in interface SystemInfoHelper

getJavaVersion

public java.lang.String getJavaVersion()
Specified by:
getJavaVersion in interface SystemInfoHelper

getJavaVendor

public java.lang.String getJavaVendor()
Specified by:
getJavaVendor in interface SystemInfoHelper

getJavaRuntime

public java.lang.String getJavaRuntime()
Specified by:
getJavaRuntime in interface SystemInfoHelper

getApplicationUsername

public java.lang.String getApplicationUsername()
Specified by:
getApplicationUsername in interface SystemInfoHelper

getArchitecture

public java.lang.String getArchitecture()
Specified by:
getArchitecture in interface SystemInfoHelper

getCrowdVersion

public java.lang.String getCrowdVersion()
Specified by:
getCrowdVersion in interface SystemInfoHelper

getTimeZone

public java.lang.String getTimeZone()
Specified by:
getTimeZone in interface SystemInfoHelper

getJavaVMVersion

public java.lang.String getJavaVMVersion()
Specified by:
getJavaVMVersion in interface SystemInfoHelper

getJavaVMVendor

public java.lang.String getJavaVMVendor()
Specified by:
getJavaVMVendor in interface SystemInfoHelper

getServerId

public java.lang.String getServerId()
Specified by:
getServerId in interface SystemInfoHelper

getDatabaseJdbcDriver

public java.lang.String getDatabaseJdbcDriver()
Specified by:
getDatabaseJdbcDriver in interface SystemInfoHelper

getDatabaseJdbcUsername

public java.lang.String getDatabaseJdbcUsername()
Specified by:
getDatabaseJdbcUsername in interface SystemInfoHelper

getDatabaseJdbcUrl

public java.lang.String getDatabaseJdbcUrl()
Specified by:
getDatabaseJdbcUrl in interface SystemInfoHelper

getDatabaseHibernateDialect

public java.lang.String getDatabaseHibernateDialect()
Specified by:
getDatabaseHibernateDialect in interface SystemInfoHelper

getDatabaseDatasourceJndiName

public java.lang.String getDatabaseDatasourceJndiName()
Specified by:
getDatabaseDatasourceJndiName in interface SystemInfoHelper

isDatabaseDatasource

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

printMinimalSystemInfo

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

printSystemInfo

public void printSystemInfo(org.apache.log4j.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 © 2009 Atlassian Pty Ltd. All Rights Reserved.