Class PolicyLogger
- java.lang.Object
-
- com.sun.istack.logging.Logger
-
- com.sun.xml.ws.policy.privateutil.PolicyLogger
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PolicyLoggergetLogger(Class<?> componentClass)The factory method returns preconfigured PolicyLogger wrapper for the class.-
Methods inherited from class com.sun.istack.logging.Logger
config, config, config, entering, entering, exiting, exiting, fine, fine, finer, finer, finer, finest, finest, finest, getLogger, info, info, info, isLoggable, isMethodCallLoggable, log, log, log, log, logException, logException, logException, logSevereException, logSevereException, logSevereException, setLevel, severe, severe, severe, warning, warning, warning
-
-
-
-
Method Detail
-
getLogger
public static PolicyLogger getLogger(Class<?> componentClass)
The factory method returns preconfigured PolicyLogger 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.
-
-