Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
guice
/
85d17c586b0b6285b722e31718138f92b1ef603f
/
test
/
com
/
google
/
inject
85d17c5
Renamed ContextualFactory to Generator. Disabed users from passing in Factory implementations.
by crazyboblee
· 18 years ago
db395b2
Add AbstractModule.intercept(). Hid Key.ofType() methods. Added support for injecting factories.
by crazyboblee
· 18 years ago
1b54d6a
Made TypeLiteral equals() and hashCode() much more robust.
by crazyboblee
· 18 years ago
b8b84f0
Renamed preload() to eagerly(). Added JMX to the Javadocs.
by crazyboblee
· 18 years ago
d7908e8
Added a JMX interface to aid debugging.
by crazyboblee
· 18 years ago
278ee4d
Renamed 'ForBinding' to 'Binder'. Introduced Stage. Added name package to Javadocs. Updated some random Javadocs.
by crazyboblee
· 18 years ago
b1f2e68
Modified scope binding to bind to scope annotations directly. No more strings.
by crazyboblee
· 18 years ago
1c4d3e3
Moved name-related logic into a subpackage.
by crazyboblee
· 18 years ago
4602a6f
Added support for binding to annotations instead of names.
by crazyboblee
· 18 years ago
4f79e40
Renamed query package to macher.
by crazyboblee
· 18 years ago
33ce069
Renamed Query to Matcher. The name is more intuitive, and hopefully it'll have the pleasant side effect of discouraging the use of regular expression matchers.
by crazyboblee
· 18 years ago
698a6c8
Added support for surrogate injection annotations.
by crazyboblee
· 18 years ago
6b931bd
Updated scoping logic to use surrogate annotations.
by crazyboblee
· 18 years ago
013aacd
Added support for surrogate annotations.
by crazyboblee
· 18 years ago
0789b19
Added support for implicit bindings. Did away with getCreator(). Made Struts plugin validate up front.
by crazyboblee
· 18 years ago
f33d23e
Refactored scope handling. Allows overriding annotations with in(). Improved error reporting.
by crazyboblee
· 18 years ago
6a565c7
A little javadoc, and trying to get some IntelliJ warnings cleaned
by kevinb9n
· 18 years ago
10a3b02
Added intercept() to ContainerBuilder. Hid ConstructionProxy, ProxyFactory, etc. Removed intercept package. Added query package. Started Struts 2 plugin and example.
by crazyboblee
· 18 years ago
4c68d34
Added more servlet unit tests.
by crazyboblee
· 18 years ago
3a09e29
Added servlet scopes.
by crazyboblee
· 18 years ago
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
· 18 years ago
a379601
Removed old Javadocs.
by crazyboblee
· 18 years ago
187a962
Added tests for getInstance() and getFactory() convenience methods.
by crazyboblee
· 18 years ago
c2fcc43
Added builder() to AbstractFactory.
by crazyboblee
· 18 years ago
d543d24
Made to(T) public.
by crazyboblee
· 18 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
· 18 years ago
2a1ea89
Added ProxyFactory.getFactory() to simplify standalone use of ProxyFactory.
by crazyboblee
· 18 years ago
62fcdde
Finished interception framework. Added Container.findBindingsByType().
by crazyboblee
· 18 years ago
1b82a8f
Implemented ProxyFactory.
by crazyboblee
· 18 years ago
b8cf1e5
Fixed copyright declarations.
by crazyboblee
· 18 years ago
e3adfd6
Introduced ToStringBuilder. Pulled up ConstructorInjector. Introduced ConstructionProxy.
by crazyboblee
· 18 years ago
9592a91
Moved Query, etc., to intercept package.
by crazyboblee
· 18 years ago
2008ec7
Added Query which will be used to apply interceptors.
by crazyboblee
· 18 years ago
a6e7398
Added Binding. The source object now follows the binding all the way through.
by crazyboblee
· 18 years ago
2af0637
Added convenience method for specifying container scope.
by crazyboblee
· 18 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
· 18 years ago
abc4dd0
Implemented explicit preloading. Updated copyright notices.
by crazyboblee
· 18 years ago
ef83bd2
Enabled validation of static dependencies.
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
fbc5644
Removed stderr noise from a test.
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
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
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
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
e9f0fa5
Added comment to performance test.
by crazyboblee
· 18 years ago
70eb033
Restored Spring performance comparison to working order.
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
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