org.apache.axis2.datasource.jaxb
Class JAXBAttachmentUnmarshallerMonitor

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

public class JAXBAttachmentUnmarshallerMonitor
extends Object

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


Method Summary
static void addBlobCID(String blobCID)
          Increase number of total builders
static void clear()
          Clear the number of creates and failed creates
static List getBlobCIDs()
           
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


getBlobCIDs

public static List getBlobCIDs()
Returns:
number of JAXBCustomBuilders created

addBlobCID

public static void addBlobCID(String blobCID)
Increase number of total builders



Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.