Class JAXBMetadataLogger


  • public class JAXBMetadataLogger
    extends java.lang.Object

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

    • Constructor Summary

      Constructors 
      Constructor Description
      JAXBMetadataLogger()
      Create a new JAXBMetadataLogger
      JAXBMetadataLogger​(int logLevel)
      Create a new JAXBMetadataLogger and set the logLevel.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void log​(java.lang.String message, java.lang.Object[] args)
      Logs a message at the SessionLog.INFO level.
      void logException​(java.lang.Throwable throwable)
      Logs a Severe message to the SessionLog.
      void logWarning​(java.lang.String message, java.lang.Object[] args)
      Logs a Warning message to the SessionLog.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • NO_PROPERTY_FOR_JAVA_ATTRIBUTE

        public static final java.lang.String NO_PROPERTY_FOR_JAVA_ATTRIBUTE
        See Also:
        Constant Field Values
      • INVALID_BOUND_TYPE

        public static final java.lang.String INVALID_BOUND_TYPE
        See Also:
        Constant Field Values
      • NO_CLASSES_TO_PROCESS

        public static final java.lang.String NO_CLASSES_TO_PROCESS
        See Also:
        Constant Field Values
      • INVALID_JAVA_ATTRIBUTE

        public static final java.lang.String INVALID_JAVA_ATTRIBUTE
        See Also:
        Constant Field Values
      • INVALID_TYPE_ON_MAP

        public static final java.lang.String INVALID_TYPE_ON_MAP
        See Also:
        Constant Field Values
    • Constructor Detail

      • JAXBMetadataLogger

        public JAXBMetadataLogger()
        Create a new JAXBMetadataLogger
      • JAXBMetadataLogger

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

      • log

        public void log​(java.lang.String message,
                        java.lang.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​(java.lang.String message,
                               java.lang.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​(java.lang.Throwable throwable)
        Logs a Severe message to the SessionLog. Typically called when EclipseLink is not in a state to continue
        Parameters:
        throwable -
        See Also:
        SessionLog