Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
guice
/
baaaf2d6e8c7ede8b1356a287eb5fe0a67935551
/
test
/
com
/
google
/
inject
e5fbbb0
Added overloaded methods which accept a name to Container. Re-implemented the built-in scopes as an enum. Added ContainerBuilder.scope(Enum). Added support for custom scope annotations.
by crazyboblee
· 17 years ago
a379601
Removed old Javadocs.
by crazyboblee
· 17 years ago
187a962
Added tests for getInstance() and getFactory() convenience methods.
by crazyboblee
· 17 years ago
c2fcc43
Added builder() to AbstractFactory.
by crazyboblee
· 17 years ago
d543d24
Made to(T) public.
by crazyboblee
· 17 years ago
07bd159
Added Queries.returns(). Renamed all() to any(). Excluded SourceConsumer from source tracing. Added performance check for indexing. Set version # to 1.0rc1.
by crazyboblee
· 17 years ago
2a1ea89
Added ProxyFactory.getFactory() to simplify standalone use of ProxyFactory.
by crazyboblee
· 17 years ago
62fcdde
Finished interception framework. Added Container.findBindingsByType().
by crazyboblee
· 17 years ago
1b82a8f
Implemented ProxyFactory.
by crazyboblee
· 17 years ago
b8cf1e5
Fixed copyright declarations.
by crazyboblee
· 17 years ago
e3adfd6
Introduced ToStringBuilder. Pulled up ConstructorInjector. Introduced ConstructionProxy.
by crazyboblee
· 17 years ago
9592a91
Moved Query, etc., to intercept package.
by crazyboblee
· 17 years ago
2008ec7
Added Query which will be used to apply interceptors.
by crazyboblee
· 17 years ago
a6e7398
Added Binding. The source object now follows the binding all the way through.
by crazyboblee
· 17 years ago
2af0637
Added convenience method for specifying container scope.
by crazyboblee
· 17 years ago
1596921
Added parameter index to context. This will be useful if a custom factory wants to change behavior based on annotations on parameters.
by crazyboblee
· 17 years ago
abc4dd0
Implemented explicit preloading. Updated copyright notices.
by crazyboblee
· 17 years ago
ef83bd2
Enabled validation of static dependencies.
by crazyboblee
· 17 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
· 17 years ago
0baa9fc
Updated Javadocs. Renamed TypeToken to TypeLiteral. Hid ConfigurationException from the public API.
by crazyboblee
· 17 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
· 17 years ago
db178d7
Removed documentation template. Using Docs instead.
by crazyboblee
· 17 years ago
fbc5644
Removed stderr noise from a test.
by crazyboblee
· 17 years ago
4727ee2
Added support for up front error handling. More work remains.
by crazyboblee
· 17 years ago
4776db7
Renamed injectStatics() to requestStaticInjection().
by crazyboblee
· 17 years ago
041e933
Renamed performance test. Introduced AbstractModule to support more concise configuration code.
by crazyboblee
· 17 years ago
9e5fe5d
Added a hand coded implementation to the performance comparison.
by crazyboblee
· 17 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
· 17 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
· 17 years ago
e9f0fa5
Added comment to performance test.
by crazyboblee
· 17 years ago
70eb033
Restored Spring performance comparison to working order.
by crazyboblee
· 17 years ago
b052dd8
Minor performance enhancements (removed unnecessary object creations).
by crazyboblee
· 17 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
· 17 years ago
7c5b2c4
Refactored ContainerBuilder API. Added support for generic types.
by crazyboblee
· 18 years ago
b944668
Refactoring binding API. Adding 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
d42a05b
Added key tests and code to convert to raw keys.
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
07e4182
Added type conversion for constants. Optimized ReferenceCache.
by crazyboblee
· 18 years ago
66b415a
Initial checkin.
by crazyboblee
· 18 years ago