|
Framework Professional Edition Package |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SystemService
This interface provides utility methods for getting the framework, JVM and OS system properties. Also provides a method for getting a runtime info including active threads, used memory, ect....
| Field Summary | |
|---|---|
static byte |
ALL
Constant for ALL runtime information and ALL system properties. |
static byte |
CLASSPATH
Constant for CLASSPATH runtime information. |
static byte |
FRAMEWORK
Constant for FRAMEWORK system properties. |
static byte |
JVM
Constant for JVM system properties. |
static byte |
MEMORY
Constant for MEMORY runtime information. |
static byte |
OS
Constant for OS system properties. |
static byte |
PLATFORM
Constant for PLATFORM runtime information (ALL_SPACE, USED_SPACE and FREE_SPACE). |
static byte |
THREADS
Constant for THREADS runtime information. |
| Method Summary | |
|---|---|
java.util.Dictionary |
getProperties(byte type)
This method will return the properties accordint to the specified type. |
RuntimeInfo |
getRuntimeInfo(byte type)
This method should return the framework runtime info, according to the specified type. |
| Field Detail |
|---|
static final byte THREADS
static final byte CLASSPATH
static final byte MEMORY
static final byte FRAMEWORK
static final byte JVM
static final byte OS
static final byte ALL
static final byte PLATFORM
| Method Detail |
|---|
java.util.Dictionary getProperties(byte type)
type - the type of the properties.
RuntimeInfo getRuntimeInfo(byte type)
type - the type os the runtime information, the
property must be THREADS, CLASSPATH, MEMORY, PLATFORM or ALL, otherwize
this method should return null.
|
Framework Professional Edition Package |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||