Revision: 1402
Author: sberlin
Date: Sat Nov 20 19:47:35 2010
Log: Edited wiki page InspectingModules through web user interface.
http://code.google.com/p/google-guice/source/detail?r=1402
Modified:
/wiki/InspectingModules.wiki
=======================================
--- /wiki/InspectingModules.wiki Sat Nov 20 19:44:32 2010
+++ /wiki/InspectingModules.wiki Sat Nov 20 19:47:35 2010
@@ -45,7 +45,7 @@
==Binding Binoculars==
-The most common Element is a [Bindings Binding]. Bindings have more
configuration than other elements and can be inspected in more ways. You
can visit a binding's scope using
[http://google-guice.googlecode.com/svn/trunk/javadoc/com/google/inject/Binding.html#acceptScopingVisitor(com.google.inject.spi.BindingScopingVisitor<V>)
Binding.acceptScopingVisitor], or figure out what kind of binding it is
using
[http://google-guice.googlecode.com/svn/trunk/javadoc/com/google/inject/Binding.html#acceptTargetVisitor(com.google.inject.spi.BindingTargetVisitor<?
super T, V>) Binding.acceptTargetVisitor]. Each of these methods have
their own default visitors (
+The most common Element is a [Bindings Binding]. Bindings have more
configuration than other elements and can be inspected in more ways. You
can visit a binding's scope using
[http://google-guice.googlecode.com/svn/trunk/javadoc/com/google/inject/Binding.html#acceptScopingVisitor)
Binding.acceptScopingVisitor], or figure out what kind of binding it is
using
[http://google-guice.googlecode.com/svn/trunk/javadoc/com/google/inject/Binding.html#acceptTargetVisitor
Binding.acceptTargetVisitor]. Each of these methods have their own default
visitors (
[http://google-guice.googlecode.com/svn/trunk/javadoc/com/google/inject/spi/DefaultBindingScopingVisitor.html
DefaultBindingScopingVisitor] and
[http://google-guice.googlecode.com/svn/trunk/javadoc/com/google/inject/spi/DefaultBindingTargetVisitor.html
DefaultBindingTargetVisitor], respectively) to make visiting easier.
Bindings can either be "Module bindings" or "Injector bindings". Injector
bindings are bindings retrieved from an injector (see the
[http://google-guice.googlecode.com/svn/trunk/javadoc/com/google/inject/Injector.html
Injector javadoc]). Module bindings are bindings retrieved using the
Elements SPI. The
[http://google-guice.googlecode.com/svn/trunk/javadoc/com/google/inject/Binding.html
Binding javadoc] explains the difference between these in more detail.
--
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.