|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 SystemService
public String getPrimaryMacAddress()
SystemService
getPrimaryMacAddress
in interface SystemService
public String getPrimaryNetworkInterfaceName()
SystemService
getPrimaryNetworkInterfaceName
in interface SystemService
public String getPlatform()
SystemService
getPlatform
in interface SystemService
public String getOsArch()
SystemService
getOsArch
in interface SystemService
public String getOsName()
SystemService
getOsName
in interface SystemService
public String getOsVersion()
SystemService
getOsVersion
in interface SystemService
public String getOsDistro()
SystemService
getOsDistro
in interface SystemService
public String getOsDistroVersion()
SystemService
getOsDistroVersion
in interface SystemService
public String getJavaVendor()
SystemService
getJavaVendor
in interface SystemService
public String getJavaVersion()
SystemService
getJavaVersion
in interface SystemService
public String getJavaVmName()
SystemService
getJavaVmName
in interface SystemService
public String getJavaVmVersion()
SystemService
getJavaVmVersion
in interface SystemService
public String getJavaVmInfo()
SystemService
getJavaVmInfo
in interface SystemService
public String getOsgiFwName()
SystemService
getOsgiFwName
in interface SystemService
public String getOsgiFwVersion()
SystemService
getOsgiFwVersion
in interface SystemService
public int getNumberOfProcessors()
SystemService
getNumberOfProcessors
in interface SystemService
public long getTotalMemory()
SystemService
getTotalMemory
in interface SystemService
public long getFreeMemory()
SystemService
getFreeMemory
in interface SystemService
public String getFileSeparator()
SystemService
getFileSeparator
in interface SystemService
public String getJavaHome()
SystemService
getJavaHome
in interface SystemService
public String getEsfName()
public String getEsfVersion()
SystemService
getEsfVersion
in interface SystemService
public String getEsfHome()
SystemService
getEsfHome
in interface SystemService
public String getEsfPluginsDirectory()
public String getEsfDataDirectory()
SystemService
getEsfDataDirectory
in interface SystemService
public String getEsfTemporaryConfigDirectory()
SystemService
getEsfTemporaryConfigDirectory
in interface SystemService
public String getEsfSnapshotsDirectory()
SystemService
getEsfSnapshotsDirectory
in interface SystemService
public int getEsfSnapshotsCount()
SystemService
getEsfSnapshotsCount
in interface SystemService
public String getEsfStyleDirectory()
SystemService
getEsfStyleDirectory
in interface SystemService
public String getEsfWebEnabled()
getEsfWebEnabled
in interface SystemService
public String getBiosVersion()
SystemService
getBiosVersion
in interface SystemService
public String getDeviceName()
SystemService
getDeviceName
in interface SystemService
public String getFirmwareVersion()
SystemService
getFirmwareVersion
in interface SystemService
public String getModelId()
SystemService
getModelId
in interface SystemService
public String getModelName()
SystemService
getModelName
in interface SystemService
public String getPartNumber()
SystemService
getPartNumber
in interface SystemService
public String getSerialNumber()
SystemService
getSerialNumber
in interface SystemService
public org.osgi.framework.Bundle[] getBundles()
SystemService
getBundles
in interface SystemService
public List<String> getDeviceManagementServiceIgnore()
SystemService
getDeviceManagementServiceIgnore
in interface SystemService
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |