Project: mule
Issue MULE-8447: extension API should consistently always inject values through fields instead of setters
Right now, when the ext-api creates an object uses setters to inject values parsed from XML, while in some other scenarios like when resolving expressions it uses fields. That leads to some inconsistency plus the setter injection limits the ability to encapsulate the internal representation of some object's state. Always use fields to inject values.
Story points: 1