Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
guice
/
26c2aadc356a655e73a74e18a3739dff0740e3c0
/
src
/
com
/
google
/
inject
/
Scopes.java
7096280
Using a private monitor rather than a public one for building singletons. It's still global...
by limpbizkit
· 16 years ago
76c24b1
This should be the last big refactoring before Guice 2 final...
by limpbizkit
· 16 years ago
c489adf
A whole bunch of @since tags, and a JDiff report of everything that's changed since Guice 1.
by limpbizkit
· 16 years ago
5fb9d92
Rewrite of parent injectors.
by limpbizkit
· 16 years ago
b3a8f0b
Last of the planned major changes to the SPI. Aside from Javadoc I consider the SPI to be complete for v2. (with a possible addition of a ProviderMethodBinding feature also)
by limpbizkit
· 16 years ago
4ce9cfa
Changing the loading of StackTraceElements to be as lazy as possible. Sam Berlin was running into memory issues when these were loaded eagerly.
by limpbizkit
· 16 years ago
27fc50d
Fixing a critical bug! The following code was broken (although we did have a TODO dating back to sometime last year)
by limpbizkit
· 16 years ago
2c2c610
More cleanup of Errors -- including sources as a factory method rather than push/pop methods (that require try/finally clauses)
by limpbizkit
· 16 years ago
185d2a2
Added some new error messages:
by limpbizkit
· 16 years ago
9dc32d4
Massive refactoring to exception handling. I'm trying to simplify things, but they are currently a little bit more complicated. I'll do another round shortly.
by limpbizkit
· 16 years ago
df98fcd
Refactoring error messages. I changed 'em from public static final constants to methods. The benefit is that now the arguments are typechecked. More importantly, now we can gather coverage on methods. Which opens the door to figuring out which methods we have test coverage for (not very many!)
by limpbizkit
· 16 years ago
c9465f9
I ran emma coverage and deleted some dead code. There's a few things that have insufficient test coverage that we need tests for...
by limpbizkit
· 16 years ago
916f548
adding first pass of compile-time guice. Also moving stuff to internal to make ConstructionProxy and Reflection classes available there.
by limpbizkit
· 16 years ago
d0c4b8b
Extended Binding to better support tools. Fixed bug where we were ignoring exceptions during member injection. Added TOOL stage.
by crazyboblee
· 17 years ago
cad2c2b
very minor javadoc tweeks
by kevinb9n
· 17 years ago
da11d0d
Issue 82: improve toString() of bundled scopes
by kevinb9n
· 17 years ago
b605482
Issue 35: override to no scope; Issue 56: OutOfScopeException.
by kevinb9n
· 17 years ago
61257a8
Added spring package to Javadocs. Made minor updates to various Javadocs.
by crazyboblee
· 17 years ago
a2915a9
Container -> Injector; container scope -> singleton scope
by kevinb9n
· 17 years ago
63e9a82
Simplified source directory structure. Forget Maven.
by crazyboblee
· 17 years ago
[Renamed from src/main/java/com/google/inject/Scopes.java]
3be9b71
Moved sources into 'java' directories to make Maven happy.
by crazyboblee
· 17 years ago
[Renamed from src/main/com/google/inject/Scopes.java]
97223d4
Moved src directories to be more maven friendly.
by crazyboblee
· 17 years ago
[Renamed from src/com/google/inject/Scopes.java]
bd9544e
Renamed Locator to Provider.
by crazyboblee
· 17 years ago
0f09fe3
Added checks to ensure annotations are retained at runtime.
by crazyboblee
· 17 years ago
97b2cac
Added @ScopeAnnotation. Added Binder.addError(). Removed Scopes.DEFAULT. We now refer to this as 'no' scope.
by crazyboblee
· 17 years ago
9a3861b
Cleaned up error handling. Separated ErrorHandler from source tracking. We now point directly to members when appropriate.
by crazyboblee
· 17 years ago
5746d5d
Renamed ContainerCreationException to CreationException (shorter). Renamed Factory to Locator.
by crazyboblee
· 17 years ago
278ee4d
Renamed 'ForBinding' to 'Binder'. Introduced Stage. Added name package to Javadocs. Updated some random Javadocs.
by crazyboblee
· 17 years ago
b1f2e68
Modified scope binding to bind to scope annotations directly. No more strings.
by crazyboblee
· 17 years ago
6b931bd
Updated scoping logic to use surrogate annotations.
by crazyboblee
· 17 years ago
0789b19
Added support for implicit bindings. Did away with getCreator(). Made Struts plugin validate up front.
by crazyboblee
· 17 years ago
f33d23e
Refactored scope handling. Allows overriding annotations with in(). Improved error reporting.
by crazyboblee
· 17 years ago
a99dca7
Silly code-style fixes
by kevinb9n
· 17 years ago
6a565c7
A little javadoc, and trying to get some IntelliJ warnings cleaned
by kevinb9n
· 17 years ago
68d2f4b
Reimplemented Scopes as a normal class.
by crazyboblee
· 17 years ago
baaaf2d
Updated scope javadocs.
by crazyboblee
· 17 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
· 17 years ago
2af0637
Added convenience method for specifying container scope.
by crazyboblee
· 17 years ago
abc4dd0
Implemented explicit preloading. Updated copyright notices.
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
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