org.apache.axis2.datasource.jaxb
Class JAXBCustomBuilderMonitor

java.lang.Object
  extended by org.apache.axis2.datasource.jaxb.JAXBCustomBuilderMonitor

public class JAXBCustomBuilderMonitor
extends java.lang.Object

The monitor is used by the tests to ensure that the JAXBCustomBuilder is used and is functioning correctly. In normal usage, monitoring is off.


Method Summary
static void clear()
          Clear the number of creates and failed creates
static int getTotalBuilders()
           
static int getTotalCreates()
           
static int getTotalFailedCreates()
           
static boolean isMonitoring()
           
static void setMonitoring(boolean monitoring)
          Set monitoring
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isMonitoring

public static boolean isMonitoring()
Returns:
true if monitoring

setMonitoring

public static void setMonitoring(boolean monitoring)
Set monitoring

Parameters:
monitoring - boolean

clear

public static void clear()
Clear the number of creates and failed creates


getTotalBuilders

public static int getTotalBuilders()
Returns:
number of JAXBCustomBuilders created

getTotalCreates

public static int getTotalCreates()
Returns:
number of successful creates

getTotalFailedCreates

public static int getTotalFailedCreates()
Returns:
number of failed attempts


Copyright © 2007 Apache Web Services Project. All Rights Reserved.