[MAGNOLIA-2188] Provide the possibility to register custom Content2BeanTransformer for specific classes Created: 18/Jun/08 Updated: 23/Jan/13 Resolved: 19/Jun/08 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | core |
| Affects Version/s: | None |
| Fix Version/s: | 3.6 |
| Type: | New Feature | Priority: | Major |
| Reporter: | Magnolia International | Assignee: | Philipp Bärfuss |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Template: |
|
| Acceptance criteria: |
Empty
|
| Date of First Response: |
| Description |
|
This should be possible for both magnolia classes and external classes (i.e i want to be able to use content2bean for ehcache configuration, but their configuration bean isn't 100% javabean compatible, for example) |
| Comments |
| Comment by Philipp Bracher [ 19/Jun/08 ] |
|
You have the following options:
This makes it possible to use custom transformers for module configurations. I added some transformers:
This allows also the usage of constuctors if you have to. For that overwrite the newBeaninstance() method |