|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
Field Summary | |
static java.lang.String |
SERVICE_NAME
Reports the class name representing this interface. |
Method Summary | |
java.util.ArrayList |
getComPorts()
gets the complete list of COM ports based on the configuration |
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.util.ArrayList |
getEthernetInterfaces()
gets the complete list of ethernet interfaces based on the configuration |
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.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 |
getTemporaryConfigDirectory()
gets the location where all volatile ESF specific configuration and status information should be stored. |
Field Detail |
public static final java.lang.String SERVICE_NAME
Method Detail |
public java.lang.String getPlatform() throws java.lang.Exception
java.lang.Exception
- if the platform is undefined or can not be determinedpublic java.lang.String getOsArch()
public java.lang.String getOsName()
public java.lang.String getOsVersion()
public java.lang.String getOsDistro() throws java.lang.Exception
java.lang.Exception
- if the Distribution name is undefined or not applicablepublic java.lang.String getOsDistroVersion() throws java.lang.Exception
java.lang.Exception
- if the Distribution version is undefined or not applicablepublic java.lang.String getJavaVmName()
public java.lang.String getJavaVmVersion()
public java.lang.String getJavaProfile()
public java.lang.String getFileSeparator()
public java.lang.String getJavaHome()
public java.lang.String getEsfHome()
public java.lang.String getEsfBaseBundleDirectory()
public java.lang.String getEsfConfigDirectory()
public java.lang.String getTemporaryConfigDirectory()
public java.util.ArrayList getEthernetInterfaces() throws java.lang.Exception
java.lang.Exception
- if the platform is undefined or can not be determinedpublic java.util.ArrayList getComPorts() throws java.lang.Exception
java.lang.Exception
- if the platform is undefined or can not be determined
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |