R
Raffael Vogler
hello,
imagine two different modules A and B.
a module is just a bunch of classes and interfaces.
i want to use either A or B through the same
interface from another seperate module.
the problem is that this interface belongs to A and B
and has to be distributet with A and B.
But it also has to be known by the calling module.
is there a direct solution to this problem,
as there would have to be one interface used
by all those three modules.
or do I have to use some pattern invoking
methods dynamically?
but how do I make sure that thos modules are implementing
those methods?
Best regards, Raffael Vogler
imagine two different modules A and B.
a module is just a bunch of classes and interfaces.
i want to use either A or B through the same
interface from another seperate module.
the problem is that this interface belongs to A and B
and has to be distributet with A and B.
But it also has to be known by the calling module.
is there a direct solution to this problem,
as there would have to be one interface used
by all those three modules.
or do I have to use some pattern invoking
methods dynamically?
but how do I make sure that thos modules are implementing
those methods?
Best regards, Raffael Vogler