From 278bfc319cc905bdf150af814bb3461896b68444 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sun, 25 Oct 2015 13:35:25 -0400 Subject: Add version 1.3.1 site. --- .../sangria/contextual/ContextSensitiveBinder.html | 313 +++++++++++++++++++++ 1 file changed, 313 insertions(+) create mode 100644 1.3.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/ContextSensitiveBinder.html (limited to '1.3.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/ContextSensitiveBinder.html') diff --git a/1.3.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/ContextSensitiveBinder.html b/1.3.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/ContextSensitiveBinder.html new file mode 100644 index 0000000..15fcb3c --- /dev/null +++ b/1.3.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/ContextSensitiveBinder.html @@ -0,0 +1,313 @@ + + + + + + +ContextSensitiveBinder (Sangria Contextual 1.3.1 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tavianator.sangria.contextual
+

Class ContextSensitiveBinder

+
+
+ +
+
    +
  • +
    +
    +
    public class ContextSensitiveBinder
    +extends Object
    +
    A binder for ContextSensitiveProviders. + +

    + For example, to bind a custom logger provider, you can write this inside AbstractModule.configure(): +

    + +
    + ContextSensitiveBinder.create(binder())
    +         .bind(CustomLogger.class)
    +         .toContextSensitiveProvider(CustomLoggerProvider.class);
    + 
    +
    +
    Since:
    +
    1.0
    +
    Version:
    +
    1.0
    +
    Author:
    +
    Tavian Barnes (tavianator@tavianator.com)
    +
    +
  • +
+
+
+ +
+
+ +
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2014–2015. All rights reserved.

+ + -- cgit v1.2.3