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. --- .../AnnotatedContextSensitiveBindingBuilder.html | 261 +++++++++++++++++ .../sangria/contextual/ContextSensitiveBinder.html | 313 +++++++++++++++++++++ .../contextual/ContextSensitiveBindingBuilder.html | 285 +++++++++++++++++++ .../contextual/ContextSensitiveBindingVisitor.html | 273 ++++++++++++++++++ .../contextual/ContextSensitiveProvider.html | 276 ++++++++++++++++++ .../ContextSensitiveProviderInstanceBinding.html | 253 +++++++++++++++++ .../ContextSensitiveProviderKeyBinding.html | 236 ++++++++++++++++ .../AnnotatedContextSensitiveBindingBuilder.html | 157 +++++++++++ .../class-use/ContextSensitiveBinder.html | 151 ++++++++++ .../class-use/ContextSensitiveBindingBuilder.html | 178 ++++++++++++ .../class-use/ContextSensitiveBindingVisitor.html | 124 ++++++++ .../class-use/ContextSensitiveProvider.html | 204 ++++++++++++++ .../ContextSensitiveProviderInstanceBinding.html | 151 ++++++++++ .../ContextSensitiveProviderKeyBinding.html | 151 ++++++++++ .../sangria/contextual/package-frame.html | 30 ++ .../sangria/contextual/package-summary.html | 208 ++++++++++++++ .../sangria/contextual/package-tree.html | 149 ++++++++++ .../tavianator/sangria/contextual/package-use.html | 169 +++++++++++ 18 files changed, 3569 insertions(+) create mode 100644 1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/AnnotatedContextSensitiveBindingBuilder.html create mode 100644 1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/ContextSensitiveBinder.html create mode 100644 1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/ContextSensitiveBindingBuilder.html create mode 100644 1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/ContextSensitiveBindingVisitor.html create mode 100644 1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/ContextSensitiveProvider.html create mode 100644 1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/ContextSensitiveProviderInstanceBinding.html create mode 100644 1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/ContextSensitiveProviderKeyBinding.html create mode 100644 1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/class-use/AnnotatedContextSensitiveBindingBuilder.html create mode 100644 1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/class-use/ContextSensitiveBinder.html create mode 100644 1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/class-use/ContextSensitiveBindingBuilder.html create mode 100644 1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/class-use/ContextSensitiveBindingVisitor.html create mode 100644 1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/class-use/ContextSensitiveProvider.html create mode 100644 1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/class-use/ContextSensitiveProviderInstanceBinding.html create mode 100644 1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/class-use/ContextSensitiveProviderKeyBinding.html create mode 100644 1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/package-frame.html create mode 100644 1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/package-summary.html create mode 100644 1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/package-tree.html create mode 100644 1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/package-use.html (limited to '1.1/sangria-contextual/apidocs/com') diff --git a/1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/AnnotatedContextSensitiveBindingBuilder.html b/1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/AnnotatedContextSensitiveBindingBuilder.html new file mode 100644 index 0000000..34be1c2 --- /dev/null +++ b/1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/AnnotatedContextSensitiveBindingBuilder.html @@ -0,0 +1,261 @@ + + + + + + +AnnotatedContextSensitiveBindingBuilder (Sangria Contextual 1.1 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tavianator.sangria.contextual
+

Interface AnnotatedContextSensitiveBindingBuilder<T>

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2014. All rights reserved.

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

+ + diff --git a/1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/ContextSensitiveBindingBuilder.html b/1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/ContextSensitiveBindingBuilder.html new file mode 100644 index 0000000..4862f7e --- /dev/null +++ b/1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/ContextSensitiveBindingBuilder.html @@ -0,0 +1,285 @@ + + + + + + +ContextSensitiveBindingBuilder (Sangria Contextual 1.1 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tavianator.sangria.contextual
+

Interface ContextSensitiveBindingBuilder<T>

+
+
+
+
    +
  • +
    +
    All Known Subinterfaces:
    +
    AnnotatedContextSensitiveBindingBuilder<T>
    +
    +
    +
    +
    public interface ContextSensitiveBindingBuilder<T>
    +
    See the EDSL examples here.
    +
    +
    Since:
    +
    1.0
    +
    Version:
    +
    1.0
    +
    Author:
    +
    Tavian Barnes (tavianator@tavianator.com)
    +
    +
  • +
+
+
+ +
+
+ +
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2014. All rights reserved.

+ + diff --git a/1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/ContextSensitiveBindingVisitor.html b/1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/ContextSensitiveBindingVisitor.html new file mode 100644 index 0000000..4a13d8a --- /dev/null +++ b/1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/ContextSensitiveBindingVisitor.html @@ -0,0 +1,273 @@ + + + + + + +ContextSensitiveBindingVisitor (Sangria Contextual 1.1 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tavianator.sangria.contextual
+

Interface ContextSensitiveBindingVisitor<T,V>

+
+
+
+
    +
  • +
    +
    All Superinterfaces:
    +
    BindingTargetVisitor<T,V>
    +
    +
    +
    +
    public interface ContextSensitiveBindingVisitor<T,V>
    +extends BindingTargetVisitor<T,V>
    +
    Visitor interface for the context-sensitive binding SPI.
    +
    +
    Since:
    +
    1.0
    +
    Version:
    +
    1.0
    +
    Author:
    +
    Tavian Barnes (tavianator@tavianator.com)
    +
    +
  • +
+
+
+ +
+
+ +
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2014. All rights reserved.

+ + diff --git a/1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/ContextSensitiveProvider.html b/1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/ContextSensitiveProvider.html new file mode 100644 index 0000000..8613830 --- /dev/null +++ b/1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/ContextSensitiveProvider.html @@ -0,0 +1,276 @@ + + + + + + +ContextSensitiveProvider (Sangria Contextual 1.1 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tavianator.sangria.contextual
+

Interface ContextSensitiveProvider<T>

+
+
+
+
    +
  • +
    +
    +
    public interface ContextSensitiveProvider<T>
    +
    Like a Provider, but with knowledge of the target InjectionPoint. + +

    + This interface, along with ContextSensitiveBinder, is useful for injecting custom logger types, among other + things. However, context-sensitive injections can make maintenance and debugging more difficult. +

    +
    +
    Since:
    +
    1.0
    +
    Version:
    +
    1.0
    +
    Author:
    +
    Tavian Barnes (tavianator@tavianator.com)
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getInContext

        +
        T getInContext(InjectionPoint injectionPoint)
        +
        Provide an instance of T for the given context.
        +
        +
        Parameters:
        +
        injectionPoint - The InjectionPoint for this provision.
        +
        Returns:
        +
        An instance of T.
        +
        +
      • +
      + + + +
        +
      • +

        getInUnknownContext

        +
        T getInUnknownContext()
        +
        Provide an instance of T for an unknown context. +

        + The InjectionPoint may not be known in all cases, for example if a Provider<T> is used instead + of + a bare T. This method will be called in those cases. +

        +

        + One reasonable implementation is to return a generically applicable instance, such as an anonymous logger. + Another valid implementation is to throw an unchecked exception; in that case, Provider<T> injections + will fail. +

        +
        +
        Returns:
        +
        An instance of T
        +
        Throws:
        +
        RuntimeException - If injection without a context is not supported.
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2014. All rights reserved.

+ + diff --git a/1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/ContextSensitiveProviderInstanceBinding.html b/1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/ContextSensitiveProviderInstanceBinding.html new file mode 100644 index 0000000..2671c2b --- /dev/null +++ b/1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/ContextSensitiveProviderInstanceBinding.html @@ -0,0 +1,253 @@ + + + + + + +ContextSensitiveProviderInstanceBinding (Sangria Contextual 1.1 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tavianator.sangria.contextual
+

Interface ContextSensitiveProviderInstanceBinding<T>

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2014. All rights reserved.

+ + diff --git a/1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/ContextSensitiveProviderKeyBinding.html b/1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/ContextSensitiveProviderKeyBinding.html new file mode 100644 index 0000000..9b1b003 --- /dev/null +++ b/1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/ContextSensitiveProviderKeyBinding.html @@ -0,0 +1,236 @@ + + + + + + +ContextSensitiveProviderKeyBinding (Sangria Contextual 1.1 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tavianator.sangria.contextual
+

Interface ContextSensitiveProviderKeyBinding<T>

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2014. All rights reserved.

+ + diff --git a/1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/class-use/AnnotatedContextSensitiveBindingBuilder.html b/1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/class-use/AnnotatedContextSensitiveBindingBuilder.html new file mode 100644 index 0000000..bf61fe5 --- /dev/null +++ b/1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/class-use/AnnotatedContextSensitiveBindingBuilder.html @@ -0,0 +1,157 @@ + + + + + + +Uses of Interface com.tavianator.sangria.contextual.AnnotatedContextSensitiveBindingBuilder (Sangria Contextual 1.1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Interface
com.tavianator.sangria.contextual.AnnotatedContextSensitiveBindingBuilder

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2014. All rights reserved.

+ + diff --git a/1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/class-use/ContextSensitiveBinder.html b/1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/class-use/ContextSensitiveBinder.html new file mode 100644 index 0000000..fc2da11 --- /dev/null +++ b/1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/class-use/ContextSensitiveBinder.html @@ -0,0 +1,151 @@ + + + + + + +Uses of Class com.tavianator.sangria.contextual.ContextSensitiveBinder (Sangria Contextual 1.1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
com.tavianator.sangria.contextual.ContextSensitiveBinder

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2014. All rights reserved.

+ + diff --git a/1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/class-use/ContextSensitiveBindingBuilder.html b/1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/class-use/ContextSensitiveBindingBuilder.html new file mode 100644 index 0000000..1470722 --- /dev/null +++ b/1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/class-use/ContextSensitiveBindingBuilder.html @@ -0,0 +1,178 @@ + + + + + + +Uses of Interface com.tavianator.sangria.contextual.ContextSensitiveBindingBuilder (Sangria Contextual 1.1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Interface
com.tavianator.sangria.contextual.ContextSensitiveBindingBuilder

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2014. All rights reserved.

+ + diff --git a/1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/class-use/ContextSensitiveBindingVisitor.html b/1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/class-use/ContextSensitiveBindingVisitor.html new file mode 100644 index 0000000..f50a929 --- /dev/null +++ b/1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/class-use/ContextSensitiveBindingVisitor.html @@ -0,0 +1,124 @@ + + + + + + +Uses of Interface com.tavianator.sangria.contextual.ContextSensitiveBindingVisitor (Sangria Contextual 1.1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Interface
com.tavianator.sangria.contextual.ContextSensitiveBindingVisitor

+
+
No usage of com.tavianator.sangria.contextual.ContextSensitiveBindingVisitor
+ +
+ + + + + + + +
+ + +

Copyright © 2014. All rights reserved.

+ + diff --git a/1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/class-use/ContextSensitiveProvider.html b/1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/class-use/ContextSensitiveProvider.html new file mode 100644 index 0000000..cd11879 --- /dev/null +++ b/1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/class-use/ContextSensitiveProvider.html @@ -0,0 +1,204 @@ + + + + + + +Uses of Interface com.tavianator.sangria.contextual.ContextSensitiveProvider (Sangria Contextual 1.1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Interface
com.tavianator.sangria.contextual.ContextSensitiveProvider

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2014. All rights reserved.

+ + diff --git a/1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/class-use/ContextSensitiveProviderInstanceBinding.html b/1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/class-use/ContextSensitiveProviderInstanceBinding.html new file mode 100644 index 0000000..ead470b --- /dev/null +++ b/1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/class-use/ContextSensitiveProviderInstanceBinding.html @@ -0,0 +1,151 @@ + + + + + + +Uses of Interface com.tavianator.sangria.contextual.ContextSensitiveProviderInstanceBinding (Sangria Contextual 1.1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Interface
com.tavianator.sangria.contextual.ContextSensitiveProviderInstanceBinding

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2014. All rights reserved.

+ + diff --git a/1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/class-use/ContextSensitiveProviderKeyBinding.html b/1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/class-use/ContextSensitiveProviderKeyBinding.html new file mode 100644 index 0000000..ee8f226 --- /dev/null +++ b/1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/class-use/ContextSensitiveProviderKeyBinding.html @@ -0,0 +1,151 @@ + + + + + + +Uses of Interface com.tavianator.sangria.contextual.ContextSensitiveProviderKeyBinding (Sangria Contextual 1.1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Interface
com.tavianator.sangria.contextual.ContextSensitiveProviderKeyBinding

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2014. All rights reserved.

+ + diff --git a/1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/package-frame.html b/1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/package-frame.html new file mode 100644 index 0000000..5527ca8 --- /dev/null +++ b/1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/package-frame.html @@ -0,0 +1,30 @@ + + + + + + +com.tavianator.sangria.contextual (Sangria Contextual 1.1 API) + + + + + +

com.tavianator.sangria.contextual

+
+

Interfaces

+ +

Classes

+ +
+ + diff --git a/1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/package-summary.html b/1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/package-summary.html new file mode 100644 index 0000000..7026736 --- /dev/null +++ b/1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/package-summary.html @@ -0,0 +1,208 @@ + + + + + + +com.tavianator.sangria.contextual (Sangria Contextual 1.1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Package com.tavianator.sangria.contextual

+
+
sangria-contextual: Context-sensitive providers.
+
+

See: Description

+
+
+ + + + +

Package com.tavianator.sangria.contextual Description

+
sangria-contextual: Context-sensitive providers.
+
+
Since:
+
1.0
+
Version:
+
1.0
+
Author:
+
Tavian Barnes (tavianator@tavianator.com)
+
+
+ +
+ + + + + + + +
+ + +

Copyright © 2014. All rights reserved.

+ + diff --git a/1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/package-tree.html b/1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/package-tree.html new file mode 100644 index 0000000..7545dec --- /dev/null +++ b/1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/package-tree.html @@ -0,0 +1,149 @@ + + + + + + +com.tavianator.sangria.contextual Class Hierarchy (Sangria Contextual 1.1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package com.tavianator.sangria.contextual

+
+
+

Class Hierarchy

+ +

Interface Hierarchy

+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2014. All rights reserved.

+ + diff --git a/1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/package-use.html b/1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/package-use.html new file mode 100644 index 0000000..24ee3e6 --- /dev/null +++ b/1.1/sangria-contextual/apidocs/com/tavianator/sangria/contextual/package-use.html @@ -0,0 +1,169 @@ + + + + + + +Uses of Package com.tavianator.sangria.contextual (Sangria Contextual 1.1 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Package
com.tavianator.sangria.contextual

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2014. All rights reserved.

+ + -- cgit v1.2.3