Hi,

I have a case where i can't see how to cleanly list the imported packages
without using DynamicImport-Package.

Example :

I have a bundle A where there is the whole dto.

I have a bundle B which defines a "container" library (basically a
container can support any Serializable and provides
serialization/deserialization tools).

I have a bundle C which use a container (from B) and add in this container
some object from the dto (from A)
In the bundle C, I instantiate the classes from the bundle B and A.

When i put "object from A" into "container from B" in "my code from C" it
is working without problem.

When i try to get "object from A" from "container from B" in "my code from
C" i get a ClassNotFoundException for the object in A.

My Bundle B has no specific import (i think this library shall be
"agnostic").

My bundle C import packages from A and B.


For Information, in B library we are using genericity which is perhaps a
problem for imports.


Where am I missing something ?

Regards
Hervé

Reply via email to