Comment #13 on issue 436 by mcculls: Provide access to Guice's own internal  
TypeConverters
http://code.google.com/p/google-guice/issues/detail?id=436

New patch that adds getTypeConverterBindings() to the injector and exposes  
the type
converter used in ConvertedConstantBinding. I also added javax.inject and  
the TCK to
the test launcher in build.xml, as this is needed to run tests on the  
command line.

Couple of points about the patch:

1) used List instead of Set to match other existing methods on the injector.

2) converted TypeConverterBinding to an interface, which is then  
implemented inside
the internal package. This should maintain compatibility with clients while  
limiting
access to the constructor.

3) made sure getScopeBindings() and getTypeConverterBindings() return  
unmodifiable
collections.


Attachments:
        GUICE_ISSUE_436_20091016.txt  23.9 KB

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"google-guice-dev" 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-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to