...
TBD >= 5.0
On the write side this approach require you to capture the bundle symbolic name and its version. This is something easy to do as in OSGi all classloader except the system classloader implements the BundleReference. The pessimis codec can look like that:
...
In this strategy we start with a more strict assumption: We will never serialized a
packages of all serialized classes come from one and only one bundle.
You may think this option is more simple but it is not true.
TODO