[MAGNOLIA-1523] Aggregator can become a simple bean and be exposed in the context Created: 10/May/07 Updated: 23/Jan/13 Resolved: 17/Oct/07 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | core |
| Affects Version/s: | None |
| Fix Version/s: | 3.5 RC1 |
| Type: | Improvement | Priority: | Major |
| Reporter: | Magnolia International | Assignee: | Magnolia International |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| 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 |
|
The Aggregator class is currently just a bunch of get/set static methods that delegate to get/setAttribute of MgnlContext. Instead, we could make this class a simple javabean, and expose one instance of it in the (Web)Context |
| Comments |
| Comment by Magnolia International [ 11/May/07 ] |
|
Done - One can now do MgnlContext.getAggregationState().getXYZ() Also deprecated a bunch of methods in Path. Todo :
|
| Comment by Magnolia International [ 15/May/07 ] |
|
done:
still to do:
|
| Comment by Magnolia International [ 17/Oct/07 ] |
|
AggregationState.setExtension() is okay as is. It currently reflects the original request's uri, but if needed, any filter or other piece of code (VirtualUriFilter for instance) could change it. |