Re: Deferred Binding with interfaces

2010-11-11 Thread Thalles
r.equals("goodbye")){ > > >          return goodBye; > > >     } > > > > } > > > > Also, MyResources needs to extend ClientBundle, and then by extendsion > > > GoodByResources automatically does. > > > > Then you c

Re: Deferred Binding with interfaces

2010-11-10 Thread Jeff Larsen
undle, and then by extendsion > > GoodByResources automatically does. > > > Then you can just @Inject MyResources and it will make the decsion as > > to which resource bundle to return. > > > On Nov 9, 11:13 am, Thalles wrote: > > > > Hello group, &g

Re: Deferred Binding with interfaces

2010-11-10 Thread Thalles
> > } > > Also, MyResources needs to extend ClientBundle, and then by extendsion > GoodByResources automatically does. > > Then you can just @Inject MyResources and it will make the decsion as > to which resource bundle to return. > > On Nov 9, 11:13 am, Thalles wrote: >

Re: Deferred Binding with interfaces

2010-11-09 Thread Jeff Larsen
sion as to which resource bundle to return. On Nov 9, 11:13 am, Thalles wrote: > Hello group, > > I've just got a quick question. Is it possible to do deferred binding > with interfaces? > Background: I would like to change the client bundle or constants > interfaces, dependin

Deferred Binding with interfaces

2010-11-09 Thread Thalles
Hello group, I've just got a quick question. Is it possible to do deferred binding with interfaces? Background: I would like to change the client bundle or constants interfaces, depending on the user. The problem is, that the client bundle or constants implementation has to be an interface i