Hi Andrew,

that actually works (although it didn't before). But we started going
from the simple example I posted back to our original code, ironed
everything out, and it works nicely.

Thanks a bunch!
Nikola

On Mon, Aug 5, 2013 at 5:58 PM, Andrew Phillips <andr...@apache.org> wrote:
> Quoting Nikola Knežević <laladelausa...@gmail.com>:
>
>> On Jul 29, 2013, at 13:46 , Nikola Knezevic <laladelausa...@gmail.com>
>> wrote:
>>
>>> a small project (written by Marcus Brandenburger) that shows the
>>> problem is available here:
>>> <https://gist.github.com/anonymous/c139fae4b9065c703fa5>
>>>
>>> I modified it a little bit, to include the complete structure that  our
>>> code has.
>>>
>>>
>>> On Thu, Jul 25, 2013 at 4:34 PM, Andrew Phillips <andr...@apache.org>
>>> wrote:
>>>>
>>>>
>>>>
>>>> Could you create a Gist or Pastie of the section where you're creating
>>>> the
>>>> context and supplying the modules (if any) to be bound..?
>>
>>
>> Hi guys,
>>
>> did anyone tried the project I send? Can anyone tell me whether the
>> approach we took is good or not?
>
>
> In MyCustomMultipartUploadModule [1], could you change the binding to a
> linked binding [2], e.g.
>
>
> bind(SequentialMultipartUploadStrategy.class).to(MyCustomMultipartUploadStrategy.class);
>
> instead of
>
>
> bind(MultipartUploadStrategy.class).to(MyCustomMultipartUploadStrategy.class);
>
> ?
>
> Regards
>
> ap
>
> [1]
> https://gist.github.com/anonymous/c139fae4b9065c703fa5#file-mycustommultipartuploadmodule-java
> [2] https://code.google.com/p/google-guice/wiki/LinkedBindings

Reply via email to