Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
guice
/
abc4dd0c0cb544bc3d5d7840ae24b15c29188720
/
src
/
com
/
google
/
inject
/
ContainerBuilder.java
abc4dd0
Implemented explicit preloading. Updated copyright notices.
by crazyboblee
· 18 years ago
ef83bd2
Enabled validation of static dependencies.
by crazyboblee
· 18 years ago
7289ac1
Pulled up some anonymous inner classes. Hopefully the CB will be eligible for garbage collection after startup. I'll have to test this theory later.
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
235d068
Further improved the up front error reporting. Hid ErrorMessage and source() logic from the public API for the time being. Removed javadocs.
by crazyboblee
· 18 years ago
db178d7
Removed documentation template. Using Docs instead.
by crazyboblee
· 18 years ago
4727ee2
Added support for up front error handling. More work remains.
by crazyboblee
· 18 years ago
4776db7
Renamed injectStatics() to requestStaticInjection().
by crazyboblee
· 18 years ago
dac4991
Updated Javadocs.
by crazyboblee
· 18 years ago
041e933
Renamed performance test. Introduced AbstractModule to support more concise configuration code.
by crazyboblee
· 18 years ago
9e5fe5d
Added a hand coded implementation to the performance comparison.
by crazyboblee
· 18 years ago
78e1cc1
Removed return types in ConstantBindingBuilder and LinkedBindingBuilder. Updated Javadocs.
by crazyboblee
· 18 years ago
fc9337f
Added code to automatically convert between primitive types and their wrapper types. Modified SingletonScope to use double checked locking which resulted in a noticable performance improvement.
by crazyboblee
· 18 years ago
b052dd8
Minor performance enhancements (removed unnecessary object creations).
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
7c5b2c4
Refactored ContainerBuilder API. Added support for generic types.
by crazyboblee
· 18 years ago
41bc852
Added TypeToken. Refactored Key to use it. Goodbye, raw types!
by crazyboblee
· 18 years ago
ed8825f
Refactoring binding API. Adding support for generic types.
by crazyboblee
· 18 years ago
6ab7e1f
Refactoring binding API. Adding support for generic types.
by crazyboblee
· 18 years ago
953aa44
Make it possible to inject constant instances
by limpbizkit
· 18 years ago
07e4182
Added type conversion for constants. Optimized ReferenceCache.
by crazyboblee
· 18 years ago
263c5bc
Added alias methods to container builder, added npe check when retrieving a factory
by donald.brown
· 18 years ago
66b415a
Initial checkin.
by crazyboblee
· 18 years ago