From 95bb12d092948a0e52f5fb2edd8e3c781efc2392 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Tue, 16 Sep 2014 10:21:08 -0400 Subject: Add version 1.1 site. --- .../sangria/contextual/ContextSensitiveBinder.html | 313 +++++++++++++++++++++ 1 file changed, 313 insertions(+) create mode 100644 1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/ContextSensitiveBinder.html (limited to '1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/ContextSensitiveBinder.html') diff --git a/1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/ContextSensitiveBinder.html b/1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/ContextSensitiveBinder.html new file mode 100644 index 0000000..9e28ac5 --- /dev/null +++ b/1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/ContextSensitiveBinder.html @@ -0,0 +1,313 @@ + + + + + + +ContextSensitiveBinder (Sangria Contextual 1.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. All rights reserved.

+ + -- cgit v1.2.3