|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISystemManagerService
Service to provide basic system information including Operating System information, JVM information, and filesystem information. This service is also used to load bundles within ESF. This service is directly tied to the ESF configuration directory level services.xml file that is used to provide information to this service with regard to what bundles to load. An example services.xml file is provided with this package. Any services referenced within that file will be loaded at startup of ESF along with their dependencies. Copyright � 2009 Eurotech Inc. All rights reserved.
Field Summary | |
---|---|
static java.lang.String |
SERVICE_NAME
Reports the class name representing this interface. |
Method Summary | |
---|---|
java.util.ArrayList |
getAllComPorts()
gets the complete list of COM ports based on the configuration |
java.lang.String |
getCompany()
gets the company name this device was set up for. |
java.lang.String |
getEntity()
gets the broker 'entity' this device was set up for. |
java.lang.String |
getEsfBaseBundleDirectory()
gets the location where the ESF base bundle directory is. |
java.lang.String |
getEsfConfigDirectory()
gets the location where all ESF specific non-volatile configuration files and bundle specific files are stored. |
java.lang.String |
getEsfHome()
gets the location where the ESF root directory is stored in the filesystem |
java.lang.String |
getFileSeparator()
gets the system file separator used by the filesystem |
java.lang.String |
getJavaHome()
gets the location where the JVM is stored in the filesystem |
java.lang.String |
getJavaProfile()
gets the Java Virtual Machine profile that is currently being used |
java.lang.String |
getJavaVmName()
gets the Java Virtual Machine name that is currently being used |
java.lang.String |
getJavaVmVersion()
gets the Java Virtual Machine version that is currently being used |
java.util.ArrayList |
getNativeEthernetInterfaces()
gets the complete list of Ethernet interfaces based on the configuration |
java.lang.String |
getOsArch()
gets the Operating System architecture for the system |
java.lang.String |
getOsDistro()
gets the Operating System Distribution name if appropriate |
java.lang.String |
getOsDistroVersion()
gets the Operating System Distribution version if appropriate |
java.lang.String |
getOsName()
gets the Operating System name for the system |
java.lang.String |
getOsVersion()
gets the Operating System version for the system |
java.lang.String |
getPlatform()
/** gets the platform name ESF is running on. |
java.lang.String |
getPrimaryMacAddress()
gets the 'primary' MAC address of this device. |
java.lang.String |
getProductVersion()
gets the product version for this unit. |
java.lang.String |
getProject()
gets the project name this device was set up for |
java.lang.String |
getTemporaryConfigDirectory()
gets the location where all volatile ESF specific configuration and status information should be stored. |
void |
reboot()
reboots the device |
Field Detail |
---|
static final java.lang.String SERVICE_NAME
Method Detail |
---|
java.lang.String getEntity() throws java.lang.Exception
java.lang.Exception
java.lang.String getCompany() throws java.lang.Exception
java.lang.Exception
java.lang.String getProject() throws java.lang.Exception
java.lang.Exception
java.lang.String getPrimaryMacAddress() throws java.lang.Exception
java.lang.Exception
java.lang.String getPlatform() throws java.lang.Exception
java.lang.Exception
- if the platform is undefined or can not be determinedjava.lang.String getOsArch()
java.lang.String getOsName()
java.lang.String getOsVersion()
java.lang.String getOsDistro() throws java.lang.Exception
java.lang.Exception
- if the Distribution name is undefined or not applicablejava.lang.String getOsDistroVersion() throws java.lang.Exception
java.lang.Exception
- if the Distribution version is undefined or not applicablejava.lang.String getJavaVmName()
java.lang.String getJavaVmVersion()
java.lang.String getJavaProfile()
java.lang.String getFileSeparator()
java.lang.String getJavaHome()
java.lang.String getProductVersion() throws java.lang.Exception
java.lang.Exception
java.lang.String getEsfHome()
java.lang.String getEsfBaseBundleDirectory()
java.lang.String getEsfConfigDirectory()
java.lang.String getTemporaryConfigDirectory()
java.util.ArrayList getNativeEthernetInterfaces() throws java.lang.Exception
java.lang.Exception
- if the platform is undefined or can not be determinedjava.util.ArrayList getAllComPorts()
void reboot() throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |