Revision: 1407
Author: sberlin
Date: Sat Nov 20 20:05:59 2010
Log: Edited wiki page ServletExtensionSPI through web user interface.
http://code.google.com/p/google-guice/source/detail?r=1407

Modified:
 /wiki/ServletExtensionSPI.wiki

=======================================
--- /wiki/ServletExtensionSPI.wiki      Sat Nov 20 20:05:37 2010
+++ /wiki/ServletExtensionSPI.wiki      Sat Nov 20 20:05:59 2010
@@ -7,7 +7,7 @@

Sometimes you want to examine your Modules and/or Bindings to inspect which URLs are serving which servlets or filters. This is useful for tests or to assert preconditions in your code. The !ServletModule extension SPI, built on the [ExtensionSPI core extension SPI], lets you do this the same way you would inspect a binding using the normal [InspectingModules elements SPI].

-==Using ServletModuleTargetVisitor==
+==Inspecting Servlet Bindings==

[http://google-guice.googlecode.com/svn/trunk/javadoc/com/google/inject/servlet/ServletModuleTargetVisitor.html ServletModuleTargetVisitor] is an extension to the core [http://google-guice.googlecode.com/svn/trunk/javadoc/com/google/inject/spi/BindingTargetVisitor.html BindingTargetVisitor]. You can implement this interface and call binding.acceptTargetVisitor(myVisitor) to learn details about servlet bindings.

--
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.

Reply via email to