Author: limpbizkit
Date: Wed Oct 15 17:46:11 2008
New Revision: 639
Modified:
wiki/Guice2.wiki
Log:
Edited wiki page through web user interface.
Modified: wiki/Guice2.wiki
==============================================================================
--- wiki/Guice2.wiki (original)
+++ wiki/Guice2.wiki Wed Oct 15 17:46:11 2008
@@ -6,6 +6,14 @@
=New Features=
+==Small Features==
+ * `Binder.getProvider` and `AbstractModule.requireBinding` allow modules
to declare and use dependencies.
+ * `Binder.requestInjection` allows modules to register instances for
injection at Injector-creation time.
+ * `Providers.of()` always provides the same instance, useful for testing.
+ * `Scopes.NO_SCOPE` allows you make no-scoping explicit.
+ * `Matcher.inSubpackage` matches all classes in any child package of the
given one.
+ * `Types` utility class for creating implementations of generic types.
+
==Provider Methods==
==Binding Overrides==
@@ -29,25 +37,23 @@
}
}}}
-==Introspection API==
-Like `java.lang.reflect`, but for Guice. It lets you rewrite a Module,
tweaking bindings programatically. It also lets you inspect a created
injector, and examine its bindings. This is intended to enable simpler,
more powerful extensions and tools for Guice.
-
-==OSGi-friendly AOP==
-Guice does bytecode generation internally to implement AOP. In version
2.0, generated classes are loaded by a bridge classloader that works in
managed environments such as OSGi.
+==Private Modules==
+[http://google-guice.googlecode.com/svn/trunk/latest-javadoc/com/google/inject/privatemodules/PrivateModule.html
PrivateModules]
can be used to create bindings that are not externally
visible. This makes it easier to encapsulate dependencies and to avoid bind
conflicts.
==Servlets==
Servlets can be injected via `InjectedHttpServlet` and
`GuiceServletContextListener`.
+==Child Injectors==
+[http://google-guice.googlecode.com/svn/trunk/latest-javadoc/com/google/inject/Injector.html#createChildInjector(java.lang.Iterable)
Injector.createChildInjector]
allows you to create child injectors that
inherit the bindings, scopes, interceptors and converters of their parent.
This API is primarily intended for extensions and tools.
+
+==Introspection API==
+Like `java.lang.reflect`, but for Guice. It lets you rewrite a Module,
tweaking bindings programatically. It also lets you inspect a created
injector, and examine its bindings. This is intended to enable simpler,
more powerful extensions and tools for Guice.
+
==Pluggable Type Converters==
Constant String bindings can be converted to arbitrary types (such as
dates, URLs, or colours) using pluggable type converters.
-==Small Features==
- * `Binder.getProvider` and `AbstractModule.requireBinding` allow modules
to declare and use dependencies.
- * `Binder.requestInjection` allows modules to register instances for
injection at Injector-creation time.
- * `Providers.of()` always provides the same instance, useful for testing.
- * `Scopes.NO_SCOPE` allows you make no-scoping explicit.
- * `Matcher.inSubpackage` matches all classes in any child package of the
given one.
- * `Types` utility class for creating implementations of generic types.
+==OSGi-friendly AOP==
+Guice does bytecode generation internally to implement AOP. In version
2.0, generated classes are loaded by a bridge classloader that works in
managed environments such as OSGi.
=Changes since 1.0=
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---