Provides strategies for selecting a matching mapping or factory method when mapping from one attribute to another or instantiating the target type of a mapping method, respectively.
Class Summary Class Description CreateOrUpdateSelectorSelection based on type of method (create - or update method). FactoryParameterSelectorFor factory methods, the candidate list is checked if it contains a method with a source parameter which is to be favored compared to factory methods without a source parameter. InheritanceSelectorSelects on inheritance distance, e.g. the amount of inheritance steps from the parameter type. MethodFamilySelectorSelects those methods from the given input set which match for the requested family of methods: factory methods, lifecycle callback methods, or any other mapping methods. MethodSelectorsApplies all known
MethodSelectors in order.
QualifierSelectorThis selector selects a best match based on qualifier annotations. SelectedMethod<T extends Method>A selected method with additional metadata that might be required for further usage of the selected method. SelectionCriteriaThis class groups the selection criteria in one class SourceRhsSelectorSelector that tries to resolve an ambiquity between methods that contain source parameters and
TargetTypeSelectorThis selector selects a best match based on the result type. TypeSelectorSelects those methods from the given input set which match the given source and target types (via
XmlElementRefannotation on a field (of the mapping result type or its super types) matching the target property name.
Enum Summary Enum Description SelectionCriteria.Type