Package io.quarkus.jaxb.runtime
Interface JaxbContextCustomizer
- All Superinterfaces:
Comparable<JaxbContextCustomizer>
Meant to be implemented by a CDI bean that provides arbitrary customization for the default
JAXBContext
.
All implementations (that are registered as CDI beans) are taken into account when producing the default
JAXBContext
.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault int
default void
customizeContextProperties
(Map<String, Object> properties) default void
customizeMarshaller
(jakarta.xml.bind.Marshaller marshaller) default void
customizeUnmarshaller
(jakarta.xml.bind.Unmarshaller unmarshaller) default int
priority()
Defines the priority that the customizers are applied.
-
Field Details
-
DEFAULT_PRIORITY
static final int DEFAULT_PRIORITY- See Also:
-
-
Method Details
-
customizeContextProperties
-
customizeMarshaller
default void customizeMarshaller(jakarta.xml.bind.Marshaller marshaller) throws jakarta.xml.bind.PropertyException - Throws:
jakarta.xml.bind.PropertyException
-
customizeUnmarshaller
default void customizeUnmarshaller(jakarta.xml.bind.Unmarshaller unmarshaller) throws jakarta.xml.bind.PropertyException - Throws:
jakarta.xml.bind.PropertyException
-
priority
default int priority()Defines the priority that the customizers are applied. A lower integer value means that the customizer will be applied after a customizer with a higher priority -
compareTo
- Specified by:
compareTo
in interfaceComparable<JaxbContextCustomizer>
-