|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.eurotech.framework.core.system.SystemServiceImpl
public class SystemServiceImpl
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
SystemServiceImpl()
|
|
| Method Summary | |
|---|---|
protected void |
activate(org.osgi.service.component.ComponentContext componentContext)
|
protected void |
deactivate(org.osgi.service.component.ComponentContext componentContext)
|
String |
getBiosVersion()
Gets the BIOS version of the device. |
org.osgi.framework.Bundle[] |
getBundles()
Returns the OSGi bundles currently installed |
List<String> |
getDeviceManagementServiceIgnore()
Returns a list of services that should be ignored by the Everyware Cloud Console |
String |
getDeviceName()
Returns a friendly name assigned to this device. |
String |
getEsfDataDirectory()
Gets the location where all ESF persistent data should be stored. |
String |
getEsfHome()
Gets the location where the ESF root directory is stored in the filesystem. |
String |
getEsfName()
|
String |
getEsfPluginsDirectory()
|
int |
getEsfSnapshotsCount()
Returns the maximum number of snapshots to be retained in the file system. |
String |
getEsfSnapshotsDirectory()
Gets the location where all Configuration Snapshots will be stored. |
String |
getEsfStyleDirectory()
Gets the location where all custom style information is stored. |
String |
getEsfTemporaryConfigDirectory()
Gets the location where all volatile ESF specific configuration and status information should be stored. |
String |
getEsfVersion()
Gets the product version for this unit. |
String |
getEsfWebEnabled()
|
String |
getFileSeparator()
Gets the system file separator used by the filesystem. |
String |
getFirmwareVersion()
Gets the firmware version. |
long |
getFreeMemory()
Returns the free memory for Java instance. |
String |
getJavaHome()
Gets the location where the JVM is stored in the filesystem. |
String |
getJavaVendor()
Gets the vendor of the Java VM that is currently being used. |
String |
getJavaVersion()
Gets the Java version that is currently being used. |
String |
getJavaVmInfo()
Gets the Java Virtual Machine information that is currently being used. |
String |
getJavaVmName()
Gets the Java Virtual Machine name that is currently being used. |
String |
getJavaVmVersion()
Gets the Java Virtual Machine version that is currently being used. |
String |
getModelId()
Gets the model identification of the device. |
String |
getModelName()
Gets the model name of the device. |
int |
getNumberOfProcessors()
Returns the number of processors visible to this Java platform. |
String |
getOsArch()
Gets the Operating System architecture for the system. |
String |
getOsDistro()
Gets the Operating System Distribution name if appropriate. |
String |
getOsDistroVersion()
Gets the Operating System Distribution version if appropriate. |
String |
getOsgiFwName()
Gets the name of the OSGI Framework that is currently being used. |
String |
getOsgiFwVersion()
Gets the version of the OSGI Framework that is currently being used. |
String |
getOsName()
Gets the Operating System name for the system. |
String |
getOsVersion()
Gets the Operating System version for the system. |
String |
getPartNumber()
Gets the part number. |
String |
getPlatform()
Gets the platform name ESF is running on. |
String |
getPrimaryMacAddress()
Gets the primary MAC address of the system |
String |
getPrimaryNetworkInterfaceName()
Gets the name of the 'primary' network interface. |
Properties |
getProperties()
Returns all EsfProperties for this system. |
String |
getSerialNumber()
Gets the serial number of the device. |
long |
getTotalMemory()
Returns the total memory visible to this Java instance. |
void |
setNetworkService(NetworkService networkService)
|
void |
unsetNetworkService(NetworkService networkService)
|
void |
updated(Map<String,Object> properties)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SystemServiceImpl()
| Method Detail |
|---|
public void setNetworkService(NetworkService networkService)
public void unsetNetworkService(NetworkService networkService)
protected void activate(org.osgi.service.component.ComponentContext componentContext)
protected void deactivate(org.osgi.service.component.ComponentContext componentContext)
public void updated(Map<String,Object> properties)
public Properties getProperties()
getProperties in interface SystemServicepublic String getPrimaryMacAddress()
SystemService
getPrimaryMacAddress in interface SystemServicepublic String getPrimaryNetworkInterfaceName()
SystemService
getPrimaryNetworkInterfaceName in interface SystemServicepublic String getPlatform()
SystemService
getPlatform in interface SystemServicepublic String getOsArch()
SystemService
getOsArch in interface SystemServicepublic String getOsName()
SystemService
getOsName in interface SystemServicepublic String getOsVersion()
SystemService
getOsVersion in interface SystemServicepublic String getOsDistro()
SystemService
getOsDistro in interface SystemServicepublic String getOsDistroVersion()
SystemService
getOsDistroVersion in interface SystemServicepublic String getJavaVendor()
SystemService
getJavaVendor in interface SystemServicepublic String getJavaVersion()
SystemService
getJavaVersion in interface SystemServicepublic String getJavaVmName()
SystemService
getJavaVmName in interface SystemServicepublic String getJavaVmVersion()
SystemService
getJavaVmVersion in interface SystemServicepublic String getJavaVmInfo()
SystemService
getJavaVmInfo in interface SystemServicepublic String getOsgiFwName()
SystemService
getOsgiFwName in interface SystemServicepublic String getOsgiFwVersion()
SystemService
getOsgiFwVersion in interface SystemServicepublic int getNumberOfProcessors()
SystemService
getNumberOfProcessors in interface SystemServicepublic long getTotalMemory()
SystemService
getTotalMemory in interface SystemServicepublic long getFreeMemory()
SystemService
getFreeMemory in interface SystemServicepublic String getFileSeparator()
SystemService
getFileSeparator in interface SystemServicepublic String getJavaHome()
SystemService
getJavaHome in interface SystemServicepublic String getEsfName()
public String getEsfVersion()
SystemService
getEsfVersion in interface SystemServicepublic String getEsfHome()
SystemService
getEsfHome in interface SystemServicepublic String getEsfPluginsDirectory()
public String getEsfDataDirectory()
SystemService
getEsfDataDirectory in interface SystemServicepublic String getEsfTemporaryConfigDirectory()
SystemService
getEsfTemporaryConfigDirectory in interface SystemServicepublic String getEsfSnapshotsDirectory()
SystemService
getEsfSnapshotsDirectory in interface SystemServicepublic int getEsfSnapshotsCount()
SystemService
getEsfSnapshotsCount in interface SystemServicepublic String getEsfStyleDirectory()
SystemService
getEsfStyleDirectory in interface SystemServicepublic String getEsfWebEnabled()
getEsfWebEnabled in interface SystemServicepublic String getBiosVersion()
SystemService
getBiosVersion in interface SystemServicepublic String getDeviceName()
SystemService
getDeviceName in interface SystemServicepublic String getFirmwareVersion()
SystemService
getFirmwareVersion in interface SystemServicepublic String getModelId()
SystemService
getModelId in interface SystemServicepublic String getModelName()
SystemService
getModelName in interface SystemServicepublic String getPartNumber()
SystemService
getPartNumber in interface SystemServicepublic String getSerialNumber()
SystemService
getSerialNumber in interface SystemServicepublic org.osgi.framework.Bundle[] getBundles()
SystemService
getBundles in interface SystemServicepublic List<String> getDeviceManagementServiceIgnore()
SystemService
getDeviceManagementServiceIgnore in interface SystemService
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||