Module org.eclipse.persistence.moxy
Class JAXBMetadataLogger
java.lang.Object
org.eclipse.persistence.jaxb.compiler.JAXBMetadataLogger
Class used to log warnings during the processing of JAXB annotations and OXM XML bindings files.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionCreate a new JAXBMetadataLoggerJAXBMetadataLogger
(int logLevel) Create a new JAXBMetadataLogger and set the logLevel. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Logs a message at the SessionLog.INFO level.void
logException
(Throwable throwable) Logs a Severe message to the SessionLog.void
logWarning
(String message, Object[] args) Logs a Warning message to the SessionLog.
-
Field Details
-
NO_PROPERTY_FOR_JAVA_ATTRIBUTE
- See Also:
-
INVALID_BOUND_TYPE
- See Also:
-
NO_CLASSES_TO_PROCESS
- See Also:
-
INVALID_JAVA_ATTRIBUTE
- See Also:
-
INVALID_TYPE_ON_MAP
- See Also:
-
-
Constructor Details
-
JAXBMetadataLogger
public JAXBMetadataLogger()Create a new JAXBMetadataLogger -
JAXBMetadataLogger
public JAXBMetadataLogger(int logLevel) Create a new JAXBMetadataLogger and set the logLevel.- See Also:
-
-
Method Details
-
log
Logs a message at the SessionLog.INFO level.- Parameters:
message
- The message to logargs
- The arguments corresponding with this message- See Also:
-
logWarning
Logs a Warning message to the SessionLog.- Parameters:
message
- The message to logargs
- The arguments corresponding with this message- See Also:
-
logException
Logs a Severe message to the SessionLog. Typically called when EclipseLink is not in a state to continue- See Also:
-