Comment #2 on issue 266 by [email protected]: Expose UniqueAnnotations.create()
http://code.google.com/p/google-guice/issues/detail?id=266

Right now I'm re-implementing UniqueAnnotations for my own "extension". Basically I have an AbstractMagicModule with a magic() method that indicates that some magic should be performed. magic() simply does

bind(Key.get(InternalType.class, MyUniqueAnnotations.create())).toInstance(...)

and elsewhere the SPI is used to detect these bindings and actually perform the magic.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"google-guice-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-guice-dev.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to