org.objectweb.jonas.tools
Class CheckEnv

java.lang.Object
  extended by org.objectweb.jonas.tools.CheckEnv

public class CheckEnv
extends java.lang.Object

This class allows to check if the environment is correct for JOnAS.


Field Summary
static int ENV_ERROR
          Constant result of JOnAS's conf check [Error]
static int ENV_OK
          Constant result of JOnAS's conf check [OK]
static int ENV_WARNING
          Constant result of JOnAS's conf check [Warning]
 
Method Summary
static int getStatus()
          check the JOnAS's configuration
static void main(java.lang.String[] args)
          entry point of the program
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ENV_OK

public static final int ENV_OK
Constant result of JOnAS's conf check [OK]

See Also:
Constant Field Values

ENV_WARNING

public static final int ENV_WARNING
Constant result of JOnAS's conf check [Warning]

See Also:
Constant Field Values

ENV_ERROR

public static final int ENV_ERROR
Constant result of JOnAS's conf check [Error]

See Also:
Constant Field Values
Method Detail

getStatus

public static int getStatus()
check the JOnAS's configuration

Returns:
status of the configuration

main

public static void main(java.lang.String[] args)
entry point of the program

Parameters:
args - arguments of the program