com.eurotech.framework.core.system
Class SystemAdminServiceImpl

java.lang.Object
  extended by com.eurotech.framework.core.system.SystemAdminServiceImpl
All Implemented Interfaces:
SystemAdminService

public class SystemAdminServiceImpl
extends Object
implements SystemAdminService


Constructor Summary
SystemAdminServiceImpl()
           
 
Method Summary
protected  void activate(org.osgi.service.component.ComponentContext componentContext)
           
protected  void deactivate(org.osgi.service.component.ComponentContext componentContext)
           
 String getUptime()
          Gets the amount of time this device has been up in milliseconds.
 void reboot()
          Reboots the device.
 void sync()
          Synchronizes data on flash with memory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemAdminServiceImpl

public SystemAdminServiceImpl()
Method Detail

activate

protected void activate(org.osgi.service.component.ComponentContext componentContext)

deactivate

protected void deactivate(org.osgi.service.component.ComponentContext componentContext)

getUptime

public String getUptime()
Description copied from interface: SystemAdminService
Gets the amount of time this device has been up in milliseconds.

Specified by:
getUptime in interface SystemAdminService
Returns:
How long this device has been up in milliseconds.

reboot

public void reboot()
Description copied from interface: SystemAdminService
Reboots the device.

Specified by:
reboot in interface SystemAdminService

sync

public void sync()
Description copied from interface: SystemAdminService
Synchronizes data on flash with memory.

Specified by:
sync in interface SystemAdminService


Copyright © 2013. All Rights Reserved.