|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.intrinsyc.janet.JanetProperties
This class is not normally used by the end developer but the API is exposed nevertheless. It provides methods to detect various environment settings.
© 2007 Intrinsyc Software International, Inc. All rights reserved.
Field Summary | |
static java.lang.String |
CONFIG_FILE
The default configuration file to use (when Janetor loads). |
Constructor Summary | |
JanetProperties()
|
Method Summary | |
static java.lang.String |
getConfigFromFile()
Checks for the presence of the VM parameter JANET_CONFIG_FILE and returns its value as a String, otherwise returns null. |
static boolean |
isInternalLogging()
Checks for the presence of the VM parameter JANET_INTERNAL_LOGGING and returns true if defined, and false otherwise. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String CONFIG_FILE
The default configuration file to use (when Janetor loads).
Constructor Detail |
public JanetProperties()
Method Detail |
public static java.lang.String getConfigFromFile()
Checks for the presence of the VM parameter JANET_CONFIG_FILE and returns its value as a String, otherwise returns null. This is used when launching a Java Server (.NET accessing Java) - the server must read the configuration file that is specified, otherwise, it will default to janet.xml in the current directory.
public static boolean isInternalLogging()
Checks for the presence of the VM parameter JANET_INTERNAL_LOGGING and returns true if defined, and false otherwise. Internal logging generates a verbose log of the network activity.
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |