org.apache.axis.client

Class HappyClient


public class HappyClient
extends java.lang.Object

Client side equivalent of happyaxis

Constructor Summary

HappyClient(PrintStream out)

Method Summary

int
getJavaVersionNumber()
calculate the java version number by probing for classes; this tactic works across many jvm implementations; taken from Ant.
static void
main(args[] )
public happiness test.
boolean
verifyClientIsHappy(boolean warningsAsErrors)
Audit the client, print out status

Constructor Details

HappyClient

public HappyClient(PrintStream out)

Method Details

getJavaVersionNumber

public int getJavaVersionNumber()
calculate the java version number by probing for classes; this tactic works across many jvm implementations; taken from Ant.
Returns:
JRE version as 10,11,12,13,14,...

main

public static void main(args[] )
public happiness test. Exits with -1 if the client is unhappy.
Parameters:

verifyClientIsHappy

public boolean verifyClientIsHappy(boolean warningsAsErrors)
            throws IOException
Audit the client, print out status
Parameters:
warningsAsErrors - should any warning result in failure?
Returns:
true if we are happy

Copyright B) 2005 Apache Web Services Project. All Rights Reserved.