Module eclipselink

Class JAXBMetadataLogger


  • public class JAXBMetadataLogger
    extends Object

    Class used to log warnings during the processing of JAXB annotations and OXM XML bindings files.

    • Constructor Detail

      • JAXBMetadataLogger

        public JAXBMetadataLogger()
        Create a new JAXBMetadataLogger
      • JAXBMetadataLogger

        public JAXBMetadataLogger​(int logLevel)
        Create a new JAXBMetadataLogger and set the logLevel.
        See Also:
        SessionLog
    • Method Detail

      • log

        public void log​(String message,
                        Object[] args)
        Logs a message at the SessionLog.INFO level.
        Parameters:
        message - The message to log
        args - The arguments corresponding with this message
        See Also:
        SessionLog
      • logWarning

        public void logWarning​(String message,
                               Object[] args)
        Logs a Warning message to the SessionLog.
        Parameters:
        message - The message to log
        args - The arguments corresponding with this message
        See Also:
        SessionLog
      • logException

        public void logException​(Throwable throwable)
        Logs a Severe message to the SessionLog. Typically called when EclipseLink is not in a state to continue
        See Also:
        SessionLog