public class SystemUtilImpl extends AbstractLoggableComponent implements SystemUtil
SystemUtil interface.getInstance()| Modifier and Type | Field and Description |
|---|---|
private static SystemUtil |
instance |
private SystemInformation |
systemInformation |
PROPERTY_JAVA_VM_NAME, PROPERTY_OS_ARCHITECTURE, PROPERTY_OS_NAME, PROPERTY_OS_VERSION| Constructor and Description |
|---|
SystemUtilImpl()
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static SystemUtil |
getInstance()
This method gets the singleton instance of this
SystemUtil. |
SystemInformation |
getSystemInformation()
This method gets the
SystemInformation for the operating system running this java virtual-machine. |
createLogger, doInitialize, getLoggerdoInitialized, getInitializationState, initializeprivate static SystemUtil instance
private final SystemInformation systemInformation
public static SystemUtil getInstance()
SystemUtil. Cdi.GET_INSTANCE before using.public SystemInformation getSystemInformation()
SystemUtilSystemInformation for the operating system running this java virtual-machine. It lets
you determine specific things (e.g. if you are running on "MS Windows" or on a "mobile device").getSystemInformation in interface SystemUtilSystemInformation.Copyright © 2001–2016 mmm-Team. All rights reserved.