-
Sub-task
-
Resolution: Fixed
-
Neutral
-
None
-
None
-
-
5.3 Preparation 2
It was decided to not use the AggregationState for "storing" trait instances. We will rather use a @LocalScoped TraitCollector (also see: http://wiki.magnolia-cms.com/pages/viewpage.action?pageId=81463036).
This object will consist of only one property
private final ClassToInstanceMap<Object> facets = MutableClassToInstanceMap.create(); and the respective getter and setter.
The current sample trait + tests have to be adjusted.