From 17b69d672f8e4f5e99f54256a4141320b0a846e0 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sat, 4 Oct 2014 13:09:39 -0400 Subject: Add version 1.2 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.2/sangria-contextual/apidocs/com/tavianator/sangria/contextual/AnnotatedContextSensitiveBindingBuilder.html create mode 100644 1.2/sangria-contextual/apidocs/com/tavianator/sangria/contextual/ContextSensitiveBinder.html create mode 100644 1.2/sangria-contextual/apidocs/com/tavianator/sangria/contextual/ContextSensitiveBindingBuilder.html create mode 100644 1.2/sangria-contextual/apidocs/com/tavianator/sangria/contextual/ContextSensitiveBindingVisitor.html create mode 100644 1.2/sangria-contextual/apidocs/com/tavianator/sangria/contextual/ContextSensitiveProvider.html create mode 100644 1.2/sangria-contextual/apidocs/com/tavianator/sangria/contextual/ContextSensitiveProviderInstanceBinding.html create mode 100644 1.2/sangria-contextual/apidocs/com/tavianator/sangria/contextual/ContextSensitiveProviderKeyBinding.html create mode 100644 1.2/sangria-contextual/apidocs/com/tavianator/sangria/contextual/class-use/AnnotatedContextSensitiveBindingBuilder.html create mode 100644 1.2/sangria-contextual/apidocs/com/tavianator/sangria/contextual/class-use/ContextSensitiveBinder.html create mode 100644 1.2/sangria-contextual/apidocs/com/tavianator/sangria/contextual/class-use/ContextSensitiveBindingBuilder.html create mode 100644 1.2/sangria-contextual/apidocs/com/tavianator/sangria/contextual/class-use/ContextSensitiveBindingVisitor.html create mode 100644 1.2/sangria-contextual/apidocs/com/tavianator/sangria/contextual/class-use/ContextSensitiveProvider.html create mode 100644 1.2/sangria-contextual/apidocs/com/tavianator/sangria/contextual/class-use/ContextSensitiveProviderInstanceBinding.html create mode 100644 1.2/sangria-contextual/apidocs/com/tavianator/sangria/contextual/class-use/ContextSensitiveProviderKeyBinding.html create mode 100644 1.2/sangria-contextual/apidocs/com/tavianator/sangria/contextual/package-frame.html create mode 100644 1.2/sangria-contextual/apidocs/com/tavianator/sangria/contextual/package-summary.html create mode 100644 1.2/sangria-contextual/apidocs/com/tavianator/sangria/contextual/package-tree.html create mode 100644 1.2/sangria-contextual/apidocs/com/tavianator/sangria/contextual/package-use.html (limited to '1.2/sangria-contextual/apidocs/com/tavianator/sangria/contextual') diff --git a/1.2/sangria-contextual/apidocs/com/tavianator/sangria/contextual/AnnotatedContextSensitiveBindingBuilder.html b/1.2/sangria-contextual/apidocs/com/tavianator/sangria/contextual/AnnotatedContextSensitiveBindingBuilder.html new file mode 100644 index 0000000..1631153 --- /dev/null +++ b/1.2/sangria-contextual/apidocs/com/tavianator/sangria/contextual/AnnotatedContextSensitiveBindingBuilder.html @@ -0,0 +1,261 @@ + + + + + + +AnnotatedContextSensitiveBindingBuilder (Sangria Contextual 1.2 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tavianator.sangria.contextual
+

Interface AnnotatedContextSensitiveBindingBuilder<T>

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

Copyright © 2014. All rights reserved.

+ + diff --git a/1.2/sangria-contextual/apidocs/com/tavianator/sangria/contextual/ContextSensitiveBinder.html b/1.2/sangria-contextual/apidocs/com/tavianator/sangria/contextual/ContextSensitiveBinder.html new file mode 100644 index 0000000..1f1798f --- /dev/null +++ b/1.2/sangria-contextual/apidocs/com/tavianator/sangria/contextual/ContextSensitiveBinder.html @@ -0,0 +1,313 @@ + + + + + + +ContextSensitiveBinder (Sangria Contextual 1.2 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.2/sangria-contextual/apidocs/com/tavianator/sangria/contextual/ContextSensitiveBindingBuilder.html b/1.2/sangria-contextual/apidocs/com/tavianator/sangria/contextual/ContextSensitiveBindingBuilder.html new file mode 100644 index 0000000..d956902 --- /dev/null +++ b/1.2/sangria-contextual/apidocs/com/tavianator/sangria/contextual/ContextSensitiveBindingBuilder.html @@ -0,0 +1,285 @@ + + + + + + +ContextSensitiveBindingBuilder (Sangria Contextual 1.2 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.2/sangria-contextual/apidocs/com/tavianator/sangria/contextual/ContextSensitiveBindingVisitor.html b/1.2/sangria-contextual/apidocs/com/tavianator/sangria/contextual/ContextSensitiveBindingVisitor.html new file mode 100644 index 0000000..c64bb50 --- /dev/null +++ b/1.2/sangria-contextual/apidocs/com/tavianator/sangria/contextual/ContextSensitiveBindingVisitor.html @@ -0,0 +1,273 @@ + + + + + + +ContextSensitiveBindingVisitor (Sangria Contextual 1.2 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.2/sangria-contextual/apidocs/com/tavianator/sangria/contextual/ContextSensitiveProvider.html b/1.2/sangria-contextual/apidocs/com/tavianator/sangria/contextual/ContextSensitiveProvider.html new file mode 100644 index 0000000..5bffd1d --- /dev/null +++ b/1.2/sangria-contextual/apidocs/com/tavianator/sangria/contextual/ContextSensitiveProvider.html @@ -0,0 +1,276 @@ + + + + + + +ContextSensitiveProvider (Sangria Contextual 1.2 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.2/sangria-contextual/apidocs/com/tavianator/sangria/contextual/ContextSensitiveProviderInstanceBinding.html b/1.2/sangria-contextual/apidocs/com/tavianator/sangria/contextual/ContextSensitiveProviderInstanceBinding.html new file mode 100644 index 0000000..c13d61d --- /dev/null +++ b/1.2/sangria-contextual/apidocs/com/tavianator/sangria/contextual/ContextSensitiveProviderInstanceBinding.html @@ -0,0 +1,253 @@ + + + + + + +ContextSensitiveProviderInstanceBinding (Sangria Contextual 1.2 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tavianator.sangria.contextual
+

Interface ContextSensitiveProviderInstanceBinding<T>

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

Copyright © 2014. All rights reserved.

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

Interface ContextSensitiveProviderKeyBinding<T>

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

Copyright © 2014. All rights reserved.

+ + diff --git a/1.2/sangria-contextual/apidocs/com/tavianator/sangria/contextual/class-use/AnnotatedContextSensitiveBindingBuilder.html b/1.2/sangria-contextual/apidocs/com/tavianator/sangria/contextual/class-use/AnnotatedContextSensitiveBindingBuilder.html new file mode 100644 index 0000000..cf14154 --- /dev/null +++ b/1.2/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.2 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

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

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

Copyright © 2014. All rights reserved.

+ + diff --git a/1.2/sangria-contextual/apidocs/com/tavianator/sangria/contextual/class-use/ContextSensitiveBinder.html b/1.2/sangria-contextual/apidocs/com/tavianator/sangria/contextual/class-use/ContextSensitiveBinder.html new file mode 100644 index 0000000..ca8b0a4 --- /dev/null +++ b/1.2/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.2 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

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

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

Copyright © 2014. All rights reserved.

+ + diff --git a/1.2/sangria-contextual/apidocs/com/tavianator/sangria/contextual/class-use/ContextSensitiveBindingBuilder.html b/1.2/sangria-contextual/apidocs/com/tavianator/sangria/contextual/class-use/ContextSensitiveBindingBuilder.html new file mode 100644 index 0000000..a8b56d8 --- /dev/null +++ b/1.2/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.2 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

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

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

Copyright © 2014. All rights reserved.

+ + diff --git a/1.2/sangria-contextual/apidocs/com/tavianator/sangria/contextual/class-use/ContextSensitiveBindingVisitor.html b/1.2/sangria-contextual/apidocs/com/tavianator/sangria/contextual/class-use/ContextSensitiveBindingVisitor.html new file mode 100644 index 0000000..32ff5f3 --- /dev/null +++ b/1.2/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.2 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.2/sangria-contextual/apidocs/com/tavianator/sangria/contextual/class-use/ContextSensitiveProvider.html b/1.2/sangria-contextual/apidocs/com/tavianator/sangria/contextual/class-use/ContextSensitiveProvider.html new file mode 100644 index 0000000..bd392b4 --- /dev/null +++ b/1.2/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.2 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

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

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

Copyright © 2014. All rights reserved.

+ + diff --git a/1.2/sangria-contextual/apidocs/com/tavianator/sangria/contextual/class-use/ContextSensitiveProviderInstanceBinding.html b/1.2/sangria-contextual/apidocs/com/tavianator/sangria/contextual/class-use/ContextSensitiveProviderInstanceBinding.html new file mode 100644 index 0000000..337ce10 --- /dev/null +++ b/1.2/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.2 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

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

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

Copyright © 2014. All rights reserved.

+ + diff --git a/1.2/sangria-contextual/apidocs/com/tavianator/sangria/contextual/class-use/ContextSensitiveProviderKeyBinding.html b/1.2/sangria-contextual/apidocs/com/tavianator/sangria/contextual/class-use/ContextSensitiveProviderKeyBinding.html new file mode 100644 index 0000000..7ff7cdf --- /dev/null +++ b/1.2/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.2 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

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

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

Copyright © 2014. All rights reserved.

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

com.tavianator.sangria.contextual

+
+

Interfaces

+ +

Classes

+ +
+ + diff --git a/1.2/sangria-contextual/apidocs/com/tavianator/sangria/contextual/package-summary.html b/1.2/sangria-contextual/apidocs/com/tavianator/sangria/contextual/package-summary.html new file mode 100644 index 0000000..1f7a7cb --- /dev/null +++ b/1.2/sangria-contextual/apidocs/com/tavianator/sangria/contextual/package-summary.html @@ -0,0 +1,208 @@ + + + + + + +com.tavianator.sangria.contextual (Sangria Contextual 1.2 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.2/sangria-contextual/apidocs/com/tavianator/sangria/contextual/package-tree.html b/1.2/sangria-contextual/apidocs/com/tavianator/sangria/contextual/package-tree.html new file mode 100644 index 0000000..356af76 --- /dev/null +++ b/1.2/sangria-contextual/apidocs/com/tavianator/sangria/contextual/package-tree.html @@ -0,0 +1,149 @@ + + + + + + +com.tavianator.sangria.contextual Class Hierarchy (Sangria Contextual 1.2 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package com.tavianator.sangria.contextual

+
+
+

Class Hierarchy

+ +

Interface Hierarchy

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

Copyright © 2014. All rights reserved.

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

Uses of Package
com.tavianator.sangria.contextual

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

Copyright © 2014. All rights reserved.

+ + -- cgit v1.2.3