Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
guice
/
ce79dfe26c3e41f610679a42d43e2a9867fd9b88
/
src
ce79dfe
Combined validation with constructor lookup and got rid of a volatile field check every time we create an object.
by crazyboblee
· 18 years ago
f33d23e
Refactored scope handling. Allows overriding annotations with in(). Improved error reporting.
by crazyboblee
· 18 years ago
a99dca7
Silly code-style fixes
by kevinb9n
· 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
5726c18
Unjar and re-jar to work around jarjar permissions issues.
by crazyboblee
· 18 years ago
3a09e29
Added servlet scopes.
by crazyboblee
· 18 years ago
fddb686
Renamed put() to scope().
by crazyboblee
· 18 years ago
6b5db11
Modified Guice to use different names for generated classes from stock cglib.
by crazyboblee
· 18 years ago
68d2f4b
Reimplemented Scopes as a normal class.
by crazyboblee
· 18 years ago
baaaf2d
Updated scope javadocs.
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
c2fcc43
Added builder() to AbstractFactory.
by crazyboblee
· 18 years ago
1814fa4
Removed old Javadocs.
by crazyboblee
· 18 years ago
a3b0c05
Removed old Javadocs.
by crazyboblee
· 18 years ago
d543d24
Made to(T) public.
by crazyboblee
· 18 years ago
4e1ecc0
Removed old Javadocs.
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
b7598a6
Exposed source provider functionality through spi.
by crazyboblee
· 18 years ago
9153228
Updated javadocs. Made Queries.all() take Object insted of T.
by crazyboblee
· 18 years ago
420d462
Updated javadocs.
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
e039bac
Exposed the error message objects.
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
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
e20bd18
Fixed Javadoc warning.
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
7fb1d7f
Removed unnecessary interface.
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
664a82e
Used cglib for critical constructor and method invocations boosting overall performance by about 40%.
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
fe2f167
Added missing file.
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
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