Yes I mean "@Exposed" I meant that you whatever you put inside @Exposed @Named (value) cant be changed, it's a constant. So if you want your module to expose dynamically (to different keys), you can only do it by making a new module that exposes to another @Named value.
Anyway, it's working very well now so this is in the detail department. On Dec 1, 6:32 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > On Dec 1, 2:50 am, Mikkel Petersen <[EMAIL PROTECTED]> wrote: > > > My biggest problem with the @expose annotation is that you have to put > > a constant string (or constant annotation) inside. You can't do > > something like @Expose(some_dynamic_value). > > There's no dynamic String. Where did you see that? And it's @Exposed, > not @Expose -- perhaps you're importing the wrong annotation? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
