Details
-
Type:
Sub-task
-
Status:
Closed
-
Priority:
Major
-
Resolution: Won't Fix or Usage Issue
-
Affects Version/s: 2.0.0-M1
-
Fix Version/s: None
-
Component/s: Core: Configuration
-
Labels:None
-
User impact:Medium
-
Similar Issues:None
Description
Transformers are generated directly from classes. I understand we should instead use objectFactoyr (or whatever that becomes) for all object generation.
Transformers are 1st-class citizens, and therefore do not need an ObjectFactory, i.e., their "ObjectFactory" is Spring IoC itself. ObjectFactories should be used for those objects which are not created by Spring but rather on-the-fly by Mule using code such as the following: