Package com.sun.xml.ws.tx.at.common
Class TxLogger
java.lang.Object
com.sun.xml.ws.tx.at.common.TxLogger
This is a helper class that provides some convenience methods wrapped around the
standard
Logger interface.
Logging domains: wstx // general for all web service transactions wstx.wscoord // for ws-coordination logging wstx.at // for ws-atomic transaction logging.
-
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidstatic TxLoggergetATLogger(Class componentClass) Logging specifically for *.wstx.wsat subsystem.static TxLoggergetCoordLogger(Class componentClass) Logging specifically for *.wstx.wscoord subsystem.static TxLoggerThe factory method returns preconfigured TxLogger wrapper for the class.voidvoidbooleanvoidvoidvoidvoidvoidvoid
-
Method Details
-
getLogger
The factory method returns preconfigured TxLogger wrapper for the class. Since there is no caching implemented, it is advised that the method is called only once per a class in order to initialize a final static logger variable, which is then used through the class to perform actual logging tasks.- Parameters:
componentClass- class of the component that will use the logger instance. Must not benull.- Returns:
- logger instance preconfigured for use with the component
- Throws:
NullPointerException- if the componentClass parameter isnull.
-
getATLogger
Logging specifically for *.wstx.wsat subsystem. -
getCoordLogger
Logging specifically for *.wstx.wscoord subsystem. -
log
-
log
-
finest
-
finest
-
finer
-
finer
-
fine
-
fine
-
info
-
info
-
config
-
config
-
warning
-
warning
-
severe
-
severe
-
entering
-
entering
-
entering
-
exiting
-
exiting
-
isLogging
-