It is exactly what I want =)

Thank you!

[]'s
Lucas

On Mon, Sep 20, 2010 at 2:38 PM, Dhanji R. Prasanna <[email protected]>wrote:

> You can't do this at the binding level, but you can at the Module level, so
> if you refactor correctly should be able to get what you want.
>
> Check out Modules.override()
>
> Dhanji.
>
> On Mon, Sep 20, 2010 at 10:13 AM, Lucas Cavalcanti <[email protected]
> > wrote:
>
>> Hi,
>>
>> I have a class intended for subclassing where I configure a module,
>> and the subclass can configure its own module.
>>
>> The injector is created by:
>>
>> Injector injector = Guice.createInjector(new SuperClassModule(),
>> subclassModule());
>>
>> Is there any way to override a SuperClassModule binding on the
>> subclassModule() ?
>>
>> Thanks,
>> Lucas
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "google-guice" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected]<google-guice%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/google-guice?hl=en.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "google-guice" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-guice%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-guice?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"google-guice" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-guice?hl=en.

Reply via email to