Avoid initializing XmlMappingBinderAccess when no XML mappings are defined

Description

Very minor optimisation to help bootstrap times: several fields in MetadataSources are quite heavy to initialize, and we'll only use a subset of them - depending on how the mapping is being defined.

In particular initializing XmlMappingBinderAccess is quite intensive as it triggers initialization of several more classes.

Environment

None

Status

Assignee

Sanne Grinovero

Reporter

Sanne Grinovero

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Priority

Minor
Configure