From 7865786d43805a7e45240088b9de77e37b485c3e Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Fri, 8 May 2015 20:53:48 -0400 Subject: Add version 1.3 site. --- .../sangria/contextual/ContextSensitiveBinder.html | 294 +++++++++++++++++++++ 1 file changed, 294 insertions(+) create mode 100644 1.3/apidocs/com/tavianator/sangria/contextual/ContextSensitiveBinder.html (limited to '1.3/apidocs/com/tavianator/sangria/contextual/ContextSensitiveBinder.html') diff --git a/1.3/apidocs/com/tavianator/sangria/contextual/ContextSensitiveBinder.html b/1.3/apidocs/com/tavianator/sangria/contextual/ContextSensitiveBinder.html new file mode 100644 index 0000000..46b8e71 --- /dev/null +++ b/1.3/apidocs/com/tavianator/sangria/contextual/ContextSensitiveBinder.html @@ -0,0 +1,294 @@ + + + + + + +ContextSensitiveBinder (Sangria 1.3 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