Revision: 1259
Author: sberlin
Date: Mon Sep 20 20:12:15 2010
Log: Edited wiki page Guice30 through web user interface.
http://code.google.com/p/google-guice/source/detail?r=1259
Modified:
/wiki/Guice30.wiki
=======================================
--- /wiki/Guice30.wiki Mon Sep 20 19:17:13 2010
+++ /wiki/Guice30.wiki Mon Sep 20 20:12:15 2010
@@ -6,7 +6,53 @@
* *[http://code.google.com/p/google-guice/source/checkout Checkout from
SVN]*
==New Features==
- * `Multibinder.permitDuplicates()` and `MapBinder.permitDuplicates()`
- * `Scopes.isSingleton`
+ * JSR 330 support
+ * New Persist extension
+ * New Service extension
* [ToConstructorBindings ToConstructor Bindings]
- * [ExtensionSPI Extensions SPI]
+ * OSGi support (and generally improved support for multiple classloaders)
+ * InjectorBuilder (`requireExplicitBindings` & `disableCircularProxies`)
+ * Duplicate bindings are ignored (instead of an exception being thrown)
+ * General extension & SPI improvements:
+ * [ExtensionSPI Extensions SPI], with support from the multibinder &
servlet extensions.
+ * `...@toolable`, for use by extensions in Stage.TOOL
+ * All binding implementations implement HasDependencies
+ * Scope improvements:
+ * `Scopes.isSingleton`
+ * toInstance bindings are considered eager singletons in the Scope SPI
+ * Singleton providers that return null are now scoped properly.
+ * Fail when circularly dependent singletons cannot be proxied
(previously two instances may have been created)
+ * Provider Method (@Provides) improvements:
+ * Logger dependencies now use named instead of anonymous loggers
+ * Exceptions produce a simpler stack
+ * Private Modules improvements:
+ * If a single PrivateModule is passed to Modules.override, private
elements can be overridden.
+ * If many modules are passed to Modules.override, exposed keys can be
overridden.
+ * Multibinder & MapBinder extension improvements:
+ * `permitDuplicates` -- allows MapBinder to inject a `Map<K, Set<V>>`
and a `Map<K, Set<Provider<V>>` and Multibinder to silently ignore
duplicate entries
+ * Expose dependencies in Stage.TOOL, and return a dependency on
Injector (instead of null) when working with Elements.
+ * Co-exist nicely with Modules.override
+ * Work properly with marker (parameterless) annotations
+ * Expose details through the new extensions SPI
+ * Servlet extension improvements:
+ * Added `with(instance)` for servlet bindings.
+ * Support multiple injectors using ServletModule in the same JVM.
+ * Support thread-continuations (allow background threads to process
an HttpRequest)
+ * Support manually seeding a @RequestScope
+ * Expose details through new extensions SPI
+ * Fix request forwarding
+ * Performance improvements for the filter & servlet pipelines
+ * Expose the servlet context (`ServletModule.getServletContext`)
+ * AssistedInject extension improvements
+ * New `FactoryModuleBuilder` for building assisted factories
+ * Injection is done through child injectors and can participate in AOP
+ * Performance improvements
+ * Multiple different implementations can be created from a single
factory
+ * Incorrect implementations or factories are detected in Stage.TOOL
+ * Work better with parameterized types
+ * Added to Injector: `getAllBindings`, `getExistingBinding`,
`getScopeBindings`
+ * Added to Key: `hasAttributes`, `ofType`, `withoutAttributes`
+ * Various bug fixes / improvements:
+ * Fix calling Provider.get() of an unrelated Provider in a scoping
method.
+ * `MoreTypes.getRawTypes` returns the proper types for arrays
(instead of Object[].class)
+ * JIT bindings left in a parent injector when child injectors fail
creating a JIT binding are now removed
--
You received this message because you are subscribed to the Google Groups
"google-guice-dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-guice-dev?hl=en.