Allow to add xml bindings directly to MetadataSources

Description

I used to be able to add xml bindings to metadata sources using the following:

But, the code was changed to return Collections.emptyList() when getXmlBindings() is called and no bindings were added using one of the public API methods.
The problem is that I use xml bindings to load meta data from a database and there is no way now to add them directly because calling getXmlBindings().add() throws java.lang.UnsupportedOperationException.
So, I propose you add a public API method to MetadataSources that would allow adding of xml bindings directly.

Environment

None

Assignee

Unassigned

Reporter

Max

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

Yes, likely

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure