Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
guice
/
baaaf2d6e8c7ede8b1356a287eb5fe0a67935551
/
test
/
com
/
google
/
inject
/
GenericInjectionTest.java
abc4dd0
Implemented explicit preloading. Updated copyright notices.
by crazyboblee
· 18 years ago
9bb6202
Created ContainerCreationException which delivers the error messages to the client. Added performance logging. Validation performance might be a concern. Will keep the design such that we can lazily validate if desired.
by crazyboblee
· 18 years ago
0baa9fc
Updated Javadocs. Renamed TypeToken to TypeLiteral. Hid ConfigurationException from the public API.
by crazyboblee
· 18 years ago
f1ba2b5
Modified Container to return a 'creator' or new instance factory. This helps clients avoid a concurrent map lookup each time they inject a class. Also fixed typing of Key.getRawType() and undeprecated it.
by crazyboblee
· 18 years ago
63b592b
Redesigned scopes to enable custom implementations. Renamed DependencyException to ConfigurationException. Cleaned up Container's interface. It now returns a Factory instead of a direct instance so clients don't have to keep passing in the paramters resulting in a map lookup. Added support for injecting Factory<T> where T is any bound type.
by crazyboblee
· 18 years ago