|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.axis2.jaxws.message.databinding.JAXBUtilsMonitor
public class JAXBUtilsMonitor
The monitor is used by the tests to ensure that the JAXBUtils code is used and is functioning correctly. In normal usage, monitoring is off. Currently the JAXBUtilsMonitor keeps track of the packageKeys passed to createJAXBContext(*). Future improvements may monitor the size of the pools, the pool hits versus misses, etc.
Method Summary | |
---|---|
static void |
addPackageKey(java.lang.String packageKey)
Add PackageKey |
static void |
clear()
Clear the number of creates and failed creates |
static java.util.List<java.lang.String> |
getPackageKeys()
|
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 |
---|
public static boolean isMonitoring()
public static void setMonitoring(boolean monitoring)
monitoring
- booleanpublic static void clear()
public static java.util.List<java.lang.String> getPackageKeys()
public static void addPackageKey(java.lang.String packageKey)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |