Couldn't you make your provider interface extend the Guice one?

On Thu, Apr 23, 2009 at 7:07 AM, AdrianCole <[email protected]> wrote:

>
> Hello,
>
> I'd like to minimize the compile-time dependency of guice on an
> application who wants to use my guiced component.
>
> I'd like to provide a method:
>
> Provider<Foo> void getFooProvider()
>
> Difference is that I'd like to use the interface com.foo.Provider as
> opposed to the guice one.
>
> Is there a way to make this happen?
>
> Thanks,
> -Adrian
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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