Details
-
Improvement
-
Status: Resolved
-
Medium
-
Resolution: Done
-
None
-
None
Description
As a first step towards MDSAL-401 we can start moving DataObject (possibly) and OpaqueObject (definitely) proxies into a separate ClassLoader. Since proxies do not need to load data by themselves, they do not need to reside in the same classloader as the defining type.
The classloader needs to be defined so that it has access to both the target binding class loader as well as to the classloader of binding-dom-codec. A proof that this is really the case will be successful DataObject proxy instantiation.
A real goal here is to turn ForeignOpaqueObject into an abstract class, which is then concretized in the new classloader with the implemented interface – thus forming a baseline for proxy-less invocation.
Attachments
Issue Links
| # | Subject | Branch | Project | Status | CR | V |
|---|---|---|---|---|---|---|
| 81653,19 | Generate OpaqueObject implementation | master | mdsal | Status: MERGED | +2 | +1 |
| 81654,30 | Generate DataObject codec implementation | master | mdsal | Status: MERGED | +2 | +1 |
| 81698,5 | Add binding/dom codec class loader support | master | mdsal | Status: MERGED | +2 | +1 |
| 81702,2 | Add binding/dom codec class loader support | v3.0.x | mdsal | Status: MERGED | +2 | +1 |
| 81708,8 | Optimize CodecDataObject dispatch | master | mdsal | Status: MERGED | +2 | +1 |
| 81853,2 | Do not use ClassToInstanceMap in AugmentableCodecDataObject | master | mdsal | Status: MERGED | +2 | +1 |
| 81872,1 | Optimize DataObjectCodecContext memory footprint | master | mdsal | Status: MERGED | +2 | +1 |
| 81873,1 | Optimize DataObjectCodecContext memory footprint | v3.0.x | mdsal | Status: MERGED | +2 | +1 |
| 81874,1 | Optimize DataObjectCodecContext memory footprint | stable/fluorine | mdsal | Status: MERGED | +2 | +1 |
| 81877,2 | Bind CodecDataObject string instances | master | mdsal | Status: MERGED | +2 | +1 |
| 81930,3 | Do not compare NormalizedNodes in CodecDataObject | master | mdsal | Status: MERGED | +2 | +1 |