[MAGNOLIA-3339] Content2Bean should allow the transformer to proxy created beans Created: 26/Oct/10 Updated: 15/Mar/12 Resolved: 22/Sep/11 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | content2bean |
| Affects Version/s: | None |
| Fix Version/s: | 4.5 |
| Type: | Improvement | Priority: | Major |
| Reporter: | Tobias Mattsson | Assignee: | Tobias Mattsson |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | aop, content2bean, proxy | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Template: |
|
| Acceptance criteria: |
Empty
|
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
| Description |
|
Content2BeanProcessor.toBean should return the bean on top of the stack in TransformationState after having called Content2BeanTransformer.initBean(). This would allow the transformer to apply a proxy after having initialized the bean. Enables AOP. |
| Comments |
| Comment by Tobias Mattsson [ 22/Sep/11 ] |
|
Added TransformationState#setCurrentBean() which breaks compatibility for the interface. |