Hello,
On 30.06.2009, at 10:14, Anthony Gelibert wrote:
Hello,
I work with iPojo and I've a problem with this modeling :
I create an interface with only one method : "send(Object obj)" and
I want provide this interface four times in the same component.
So, in my component, I want define four versions of the method with
different names (for Java coherency) and indicate in iPojo that the
method is a "synonym" of the "send" method...
If I understand correctly, you have one interface and a class
implementing this interface (and publishing it as a service) and
containing four versions of the send method. You would like to say to
iPOJO which method to use when the send method is invoked.
If so, I'm not sure that iPOJO provides a solution. The best solution
I see is to implement the send(Object obj) method and delegating the
calls to the good method.
However iPOJO supports to expose several interfaces (or several times
the same interface) as services, so maybe you can try to see if it
helps.
Regards,
Clement
How could I make this ?
Thanks...
Anthony Gelibert
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]