|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.jonas.launcher.felix.util.JOnASUtils
public final class JOnASUtils
JOnAS utilities.
| Field Summary | |
|---|---|
static String |
JONAS_DEVELOPER_PROP
JOnAS Development mode. |
static String |
JONAS_PROPERTIES
JOnAS Development mode. |
| Method Summary | |
|---|---|
static File |
getJOnASBase()
|
static File |
getJOnASRoot()
|
static String |
getServerProperty(String property,
String defaultValue)
Returns the value associated to the given property in jonas.properties file. |
static String |
getVersion()
|
static boolean |
isDeveloperMode()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String JONAS_DEVELOPER_PROP
public static final String JONAS_PROPERTIES
| Method Detail |
|---|
public static File getJOnASBase()
public static String getServerProperty(String property,
String defaultValue)
throws Exception
property - the property namedefaultValue - the default value
Exception - If the property value cannot be retrievedpublic static File getJOnASRoot()
IllegalStateException
if jonas.root System property is not set.public static String getVersion()
public static boolean isDeveloperMode()
jonas.developer system property has been set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||