org.ow2.jonas.commands.check
Class CheckEnv

java.lang.Object
  extended by org.ow2.jonas.commands.check.CheckEnv

public final class CheckEnv
extends Object

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

Author:
Francois Fornaciari

Field Summary
static int ENV_ERROR
          Constant result of the JOnAS configuration check [Error].
static int ENV_OK
          Constant result of JOnAS's conf check [OK].
 
Constructor Summary
CheckEnv(String[] args)
          Build new instance.
 
Method Summary
static void main(String[] args)
          Main function, creates a new CheckEnv instance.
 int performCheck()
          Check the JOnAS's configuration.
 
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_ERROR

public static final int ENV_ERROR
Constant result of the JOnAS configuration check [Error].

See Also:
Constant Field Values
Constructor Detail

CheckEnv

public CheckEnv(String[] args)
Build new instance.

Parameters:
args - command arguments
Method Detail

main

public static void main(String[] args)
Main function, creates a new CheckEnv instance.

Parameters:
args - See CheckEnv#ClientAdmin(String[]).

performCheck

public int performCheck()
Check the JOnAS's configuration.

Returns:
check status


Copyright © 2010 OW2 Consortium. All Rights Reserved.