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. --- .../AnnotatedContextSensitiveBindingBuilder.html | 246 ++++++++++++ .../sangria/contextual/ContextSensitiveBinder.html | 294 ++++++++++++++ .../contextual/ContextSensitiveBindingBuilder.html | 270 +++++++++++++ .../contextual/ContextSensitiveBindingVisitor.html | 250 ++++++++++++ .../contextual/ContextSensitiveProvider.html | 254 ++++++++++++ .../ContextSensitiveProviderInstanceBinding.html | 231 +++++++++++ .../ContextSensitiveProviderKeyBinding.html | 217 +++++++++++ .../AnnotatedContextSensitiveBindingBuilder.html | 167 ++++++++ .../class-use/ContextSensitiveBinder.html | 161 ++++++++ .../class-use/ContextSensitiveBindingBuilder.html | 188 +++++++++ .../class-use/ContextSensitiveBindingVisitor.html | 117 ++++++ .../class-use/ContextSensitiveProvider.html | 214 ++++++++++ .../ContextSensitiveProviderInstanceBinding.html | 161 ++++++++ .../ContextSensitiveProviderKeyBinding.html | 161 ++++++++ .../sangria/contextual/package-frame.html | 29 ++ .../sangria/contextual/package-summary.html | 199 ++++++++++ .../sangria/contextual/package-tree.html | 146 +++++++ .../tavianator/sangria/contextual/package-use.html | 179 +++++++++ .../com/tavianator/sangria/core/DelayedError.html | 297 ++++++++++++++ .../sangria/core/PotentialAnnotation.Visitor.html | 260 +++++++++++++ .../sangria/core/PotentialAnnotation.html | 431 +++++++++++++++++++++ .../com/tavianator/sangria/core/PrettyTypes.html | 239 ++++++++++++ .../com/tavianator/sangria/core/Priority.html | 373 ++++++++++++++++++ .../com/tavianator/sangria/core/TypeLiterals.html | 356 +++++++++++++++++ .../tavianator/sangria/core/UniqueAnnotations.html | 232 +++++++++++ .../sangria/core/class-use/DelayedError.html | 177 +++++++++ .../class-use/PotentialAnnotation.Visitor.html | 161 ++++++++ .../core/class-use/PotentialAnnotation.html | 177 +++++++++ .../sangria/core/class-use/PrettyTypes.html | 117 ++++++ .../sangria/core/class-use/Priority.html | 183 +++++++++ .../sangria/core/class-use/TypeLiterals.html | 117 ++++++ .../sangria/core/class-use/UniqueAnnotations.html | 117 ++++++ .../com/tavianator/sangria/core/package-frame.html | 29 ++ .../tavianator/sangria/core/package-summary.html | 199 ++++++++++ .../com/tavianator/sangria/core/package-tree.html | 139 +++++++ .../com/tavianator/sangria/core/package-use.html | 169 ++++++++ 1.3/apidocs/com/tavianator/sangria/lazy/Lazy.html | 260 +++++++++++++ .../com/tavianator/sangria/lazy/LazyBinder.html | 284 ++++++++++++++ .../com/tavianator/sangria/lazy/LazyBinding.html | 216 +++++++++++ .../sangria/lazy/LazyBindingVisitor.html | 232 +++++++++++ .../com/tavianator/sangria/lazy/LazyScopes.html | 277 +++++++++++++ .../com/tavianator/sangria/lazy/LazySingleton.html | 163 ++++++++ .../tavianator/sangria/lazy/SangriaLazyModule.html | 285 ++++++++++++++ .../tavianator/sangria/lazy/class-use/Lazy.html | 117 ++++++ .../sangria/lazy/class-use/LazyBinder.html | 161 ++++++++ .../sangria/lazy/class-use/LazyBinding.html | 161 ++++++++ .../sangria/lazy/class-use/LazyBindingVisitor.html | 117 ++++++ .../sangria/lazy/class-use/LazyScopes.html | 117 ++++++ .../sangria/lazy/class-use/LazySingleton.html | 117 ++++++ .../sangria/lazy/class-use/SangriaLazyModule.html | 117 ++++++ .../com/tavianator/sangria/lazy/package-frame.html | 32 ++ .../tavianator/sangria/lazy/package-summary.html | 210 ++++++++++ .../com/tavianator/sangria/lazy/package-tree.html | 150 +++++++ .../com/tavianator/sangria/lazy/package-use.html | 159 ++++++++ .../listbinder/AnnotatedListBinderBuilder.html | 250 ++++++++++++ .../tavianator/sangria/listbinder/ListBinder.html | 353 +++++++++++++++++ .../sangria/listbinder/ListBinderBuilder.html | 236 +++++++++++ .../class-use/AnnotatedListBinderBuilder.html | 169 ++++++++ .../sangria/listbinder/class-use/ListBinder.html | 164 ++++++++ .../listbinder/class-use/ListBinderBuilder.html | 182 +++++++++ .../sangria/listbinder/package-frame.html | 25 ++ .../sangria/listbinder/package-summary.html | 175 +++++++++ .../sangria/listbinder/package-tree.html | 138 +++++++ .../tavianator/sangria/listbinder/package-use.html | 164 ++++++++ .../sangria/log4j/SangriaLog4jModule.html | 285 ++++++++++++++ .../log4j/class-use/SangriaLog4jModule.html | 117 ++++++ .../tavianator/sangria/log4j/package-frame.html | 20 + .../tavianator/sangria/log4j/package-summary.html | 152 ++++++++ .../com/tavianator/sangria/log4j/package-tree.html | 134 +++++++ .../com/tavianator/sangria/log4j/package-use.html | 117 ++++++ .../sangria/slf4j/SangriaSlf4jModule.html | 285 ++++++++++++++ .../slf4j/class-use/SangriaSlf4jModule.html | 117 ++++++ .../tavianator/sangria/slf4j/package-frame.html | 20 + .../tavianator/sangria/slf4j/package-summary.html | 152 ++++++++ .../com/tavianator/sangria/slf4j/package-tree.html | 134 +++++++ .../com/tavianator/sangria/slf4j/package-use.html | 117 ++++++ .../tavianator/sangria/test/SangriaMatchers.html | 246 ++++++++++++ .../sangria/test/class-use/SangriaMatchers.html | 117 ++++++ .../com/tavianator/sangria/test/package-frame.html | 20 + .../tavianator/sangria/test/package-summary.html | 152 ++++++++ .../com/tavianator/sangria/test/package-tree.html | 130 +++++++ .../com/tavianator/sangria/test/package-use.html | 117 ++++++ 82 files changed, 14720 insertions(+) create mode 100644 1.3/apidocs/com/tavianator/sangria/contextual/AnnotatedContextSensitiveBindingBuilder.html create mode 100644 1.3/apidocs/com/tavianator/sangria/contextual/ContextSensitiveBinder.html create mode 100644 1.3/apidocs/com/tavianator/sangria/contextual/ContextSensitiveBindingBuilder.html create mode 100644 1.3/apidocs/com/tavianator/sangria/contextual/ContextSensitiveBindingVisitor.html create mode 100644 1.3/apidocs/com/tavianator/sangria/contextual/ContextSensitiveProvider.html create mode 100644 1.3/apidocs/com/tavianator/sangria/contextual/ContextSensitiveProviderInstanceBinding.html create mode 100644 1.3/apidocs/com/tavianator/sangria/contextual/ContextSensitiveProviderKeyBinding.html create mode 100644 1.3/apidocs/com/tavianator/sangria/contextual/class-use/AnnotatedContextSensitiveBindingBuilder.html create mode 100644 1.3/apidocs/com/tavianator/sangria/contextual/class-use/ContextSensitiveBinder.html create mode 100644 1.3/apidocs/com/tavianator/sangria/contextual/class-use/ContextSensitiveBindingBuilder.html create mode 100644 1.3/apidocs/com/tavianator/sangria/contextual/class-use/ContextSensitiveBindingVisitor.html create mode 100644 1.3/apidocs/com/tavianator/sangria/contextual/class-use/ContextSensitiveProvider.html create mode 100644 1.3/apidocs/com/tavianator/sangria/contextual/class-use/ContextSensitiveProviderInstanceBinding.html create mode 100644 1.3/apidocs/com/tavianator/sangria/contextual/class-use/ContextSensitiveProviderKeyBinding.html create mode 100644 1.3/apidocs/com/tavianator/sangria/contextual/package-frame.html create mode 100644 1.3/apidocs/com/tavianator/sangria/contextual/package-summary.html create mode 100644 1.3/apidocs/com/tavianator/sangria/contextual/package-tree.html create mode 100644 1.3/apidocs/com/tavianator/sangria/contextual/package-use.html create mode 100644 1.3/apidocs/com/tavianator/sangria/core/DelayedError.html create mode 100644 1.3/apidocs/com/tavianator/sangria/core/PotentialAnnotation.Visitor.html create mode 100644 1.3/apidocs/com/tavianator/sangria/core/PotentialAnnotation.html create mode 100644 1.3/apidocs/com/tavianator/sangria/core/PrettyTypes.html create mode 100644 1.3/apidocs/com/tavianator/sangria/core/Priority.html create mode 100644 1.3/apidocs/com/tavianator/sangria/core/TypeLiterals.html create mode 100644 1.3/apidocs/com/tavianator/sangria/core/UniqueAnnotations.html create mode 100644 1.3/apidocs/com/tavianator/sangria/core/class-use/DelayedError.html create mode 100644 1.3/apidocs/com/tavianator/sangria/core/class-use/PotentialAnnotation.Visitor.html create mode 100644 1.3/apidocs/com/tavianator/sangria/core/class-use/PotentialAnnotation.html create mode 100644 1.3/apidocs/com/tavianator/sangria/core/class-use/PrettyTypes.html create mode 100644 1.3/apidocs/com/tavianator/sangria/core/class-use/Priority.html create mode 100644 1.3/apidocs/com/tavianator/sangria/core/class-use/TypeLiterals.html create mode 100644 1.3/apidocs/com/tavianator/sangria/core/class-use/UniqueAnnotations.html create mode 100644 1.3/apidocs/com/tavianator/sangria/core/package-frame.html create mode 100644 1.3/apidocs/com/tavianator/sangria/core/package-summary.html create mode 100644 1.3/apidocs/com/tavianator/sangria/core/package-tree.html create mode 100644 1.3/apidocs/com/tavianator/sangria/core/package-use.html create mode 100644 1.3/apidocs/com/tavianator/sangria/lazy/Lazy.html create mode 100644 1.3/apidocs/com/tavianator/sangria/lazy/LazyBinder.html create mode 100644 1.3/apidocs/com/tavianator/sangria/lazy/LazyBinding.html create mode 100644 1.3/apidocs/com/tavianator/sangria/lazy/LazyBindingVisitor.html create mode 100644 1.3/apidocs/com/tavianator/sangria/lazy/LazyScopes.html create mode 100644 1.3/apidocs/com/tavianator/sangria/lazy/LazySingleton.html create mode 100644 1.3/apidocs/com/tavianator/sangria/lazy/SangriaLazyModule.html create mode 100644 1.3/apidocs/com/tavianator/sangria/lazy/class-use/Lazy.html create mode 100644 1.3/apidocs/com/tavianator/sangria/lazy/class-use/LazyBinder.html create mode 100644 1.3/apidocs/com/tavianator/sangria/lazy/class-use/LazyBinding.html create mode 100644 1.3/apidocs/com/tavianator/sangria/lazy/class-use/LazyBindingVisitor.html create mode 100644 1.3/apidocs/com/tavianator/sangria/lazy/class-use/LazyScopes.html create mode 100644 1.3/apidocs/com/tavianator/sangria/lazy/class-use/LazySingleton.html create mode 100644 1.3/apidocs/com/tavianator/sangria/lazy/class-use/SangriaLazyModule.html create mode 100644 1.3/apidocs/com/tavianator/sangria/lazy/package-frame.html create mode 100644 1.3/apidocs/com/tavianator/sangria/lazy/package-summary.html create mode 100644 1.3/apidocs/com/tavianator/sangria/lazy/package-tree.html create mode 100644 1.3/apidocs/com/tavianator/sangria/lazy/package-use.html create mode 100644 1.3/apidocs/com/tavianator/sangria/listbinder/AnnotatedListBinderBuilder.html create mode 100644 1.3/apidocs/com/tavianator/sangria/listbinder/ListBinder.html create mode 100644 1.3/apidocs/com/tavianator/sangria/listbinder/ListBinderBuilder.html create mode 100644 1.3/apidocs/com/tavianator/sangria/listbinder/class-use/AnnotatedListBinderBuilder.html create mode 100644 1.3/apidocs/com/tavianator/sangria/listbinder/class-use/ListBinder.html create mode 100644 1.3/apidocs/com/tavianator/sangria/listbinder/class-use/ListBinderBuilder.html create mode 100644 1.3/apidocs/com/tavianator/sangria/listbinder/package-frame.html create mode 100644 1.3/apidocs/com/tavianator/sangria/listbinder/package-summary.html create mode 100644 1.3/apidocs/com/tavianator/sangria/listbinder/package-tree.html create mode 100644 1.3/apidocs/com/tavianator/sangria/listbinder/package-use.html create mode 100644 1.3/apidocs/com/tavianator/sangria/log4j/SangriaLog4jModule.html create mode 100644 1.3/apidocs/com/tavianator/sangria/log4j/class-use/SangriaLog4jModule.html create mode 100644 1.3/apidocs/com/tavianator/sangria/log4j/package-frame.html create mode 100644 1.3/apidocs/com/tavianator/sangria/log4j/package-summary.html create mode 100644 1.3/apidocs/com/tavianator/sangria/log4j/package-tree.html create mode 100644 1.3/apidocs/com/tavianator/sangria/log4j/package-use.html create mode 100644 1.3/apidocs/com/tavianator/sangria/slf4j/SangriaSlf4jModule.html create mode 100644 1.3/apidocs/com/tavianator/sangria/slf4j/class-use/SangriaSlf4jModule.html create mode 100644 1.3/apidocs/com/tavianator/sangria/slf4j/package-frame.html create mode 100644 1.3/apidocs/com/tavianator/sangria/slf4j/package-summary.html create mode 100644 1.3/apidocs/com/tavianator/sangria/slf4j/package-tree.html create mode 100644 1.3/apidocs/com/tavianator/sangria/slf4j/package-use.html create mode 100644 1.3/apidocs/com/tavianator/sangria/test/SangriaMatchers.html create mode 100644 1.3/apidocs/com/tavianator/sangria/test/class-use/SangriaMatchers.html create mode 100644 1.3/apidocs/com/tavianator/sangria/test/package-frame.html create mode 100644 1.3/apidocs/com/tavianator/sangria/test/package-summary.html create mode 100644 1.3/apidocs/com/tavianator/sangria/test/package-tree.html create mode 100644 1.3/apidocs/com/tavianator/sangria/test/package-use.html (limited to '1.3/apidocs/com/tavianator/sangria') diff --git a/1.3/apidocs/com/tavianator/sangria/contextual/AnnotatedContextSensitiveBindingBuilder.html b/1.3/apidocs/com/tavianator/sangria/contextual/AnnotatedContextSensitiveBindingBuilder.html new file mode 100644 index 0000000..ace70ae --- /dev/null +++ b/1.3/apidocs/com/tavianator/sangria/contextual/AnnotatedContextSensitiveBindingBuilder.html @@ -0,0 +1,246 @@ + + + + + + +AnnotatedContextSensitiveBindingBuilder (Sangria 1.3 API) + + + + + + + +
+ + + + + +
+ + + +
+
com.tavianator.sangria.contextual
+

Interface AnnotatedContextSensitiveBindingBuilder<T>

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

Copyright © 2014–2015. All rights reserved.

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

+ + diff --git a/1.3/apidocs/com/tavianator/sangria/contextual/ContextSensitiveBindingBuilder.html b/1.3/apidocs/com/tavianator/sangria/contextual/ContextSensitiveBindingBuilder.html new file mode 100644 index 0000000..4a106ac --- /dev/null +++ b/1.3/apidocs/com/tavianator/sangria/contextual/ContextSensitiveBindingBuilder.html @@ -0,0 +1,270 @@ + + + + + + +ContextSensitiveBindingBuilder (Sangria 1.3 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–2015. All rights reserved.

+ + diff --git a/1.3/apidocs/com/tavianator/sangria/contextual/ContextSensitiveBindingVisitor.html b/1.3/apidocs/com/tavianator/sangria/contextual/ContextSensitiveBindingVisitor.html new file mode 100644 index 0000000..0ff759d --- /dev/null +++ b/1.3/apidocs/com/tavianator/sangria/contextual/ContextSensitiveBindingVisitor.html @@ -0,0 +1,250 @@ + + + + + + +ContextSensitiveBindingVisitor (Sangria 1.3 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–2015. All rights reserved.

+ + diff --git a/1.3/apidocs/com/tavianator/sangria/contextual/ContextSensitiveProvider.html b/1.3/apidocs/com/tavianator/sangria/contextual/ContextSensitiveProvider.html new file mode 100644 index 0000000..ed9a204 --- /dev/null +++ b/1.3/apidocs/com/tavianator/sangria/contextual/ContextSensitiveProvider.html @@ -0,0 +1,254 @@ + + + + + + +ContextSensitiveProvider (Sangria 1.3 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 Summary

      + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      TgetInContext(InjectionPoint injectionPoint) +
      Provide an instance of T for the given context.
      +
      TgetInUnknownContext() +
      Provide an instance of T for an unknown context.
      +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      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–2015. All rights reserved.

+ + diff --git a/1.3/apidocs/com/tavianator/sangria/contextual/ContextSensitiveProviderInstanceBinding.html b/1.3/apidocs/com/tavianator/sangria/contextual/ContextSensitiveProviderInstanceBinding.html new file mode 100644 index 0000000..77cec5e --- /dev/null +++ b/1.3/apidocs/com/tavianator/sangria/contextual/ContextSensitiveProviderInstanceBinding.html @@ -0,0 +1,231 @@ + + + + + + +ContextSensitiveProviderInstanceBinding (Sangria 1.3 API) + + + + + + + +
+ + + + + +
+ + + +
+
com.tavianator.sangria.contextual
+

Interface ContextSensitiveProviderInstanceBinding<T>

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

Copyright © 2014–2015. All rights reserved.

+ + diff --git a/1.3/apidocs/com/tavianator/sangria/contextual/ContextSensitiveProviderKeyBinding.html b/1.3/apidocs/com/tavianator/sangria/contextual/ContextSensitiveProviderKeyBinding.html new file mode 100644 index 0000000..b44ebdf --- /dev/null +++ b/1.3/apidocs/com/tavianator/sangria/contextual/ContextSensitiveProviderKeyBinding.html @@ -0,0 +1,217 @@ + + + + + + +ContextSensitiveProviderKeyBinding (Sangria 1.3 API) + + + + + + + +
+ + + + + +
+ + + +
+
com.tavianator.sangria.contextual
+

Interface ContextSensitiveProviderKeyBinding<T>

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

Copyright © 2014–2015. All rights reserved.

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

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

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

Copyright © 2014–2015. All rights reserved.

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

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

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

Copyright © 2014–2015. All rights reserved.

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

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

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

Copyright © 2014–2015. All rights reserved.

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

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

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

Copyright © 2014–2015. All rights reserved.

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

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

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

Copyright © 2014–2015. All rights reserved.

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

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

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

Copyright © 2014–2015. All rights reserved.

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

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

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

Copyright © 2014–2015. All rights reserved.

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

com.tavianator.sangria.contextual

+
+

Interfaces

+ +

Classes

+ +
+ + diff --git a/1.3/apidocs/com/tavianator/sangria/contextual/package-summary.html b/1.3/apidocs/com/tavianator/sangria/contextual/package-summary.html new file mode 100644 index 0000000..4b9e82d --- /dev/null +++ b/1.3/apidocs/com/tavianator/sangria/contextual/package-summary.html @@ -0,0 +1,199 @@ + + + + + + +com.tavianator.sangria.contextual (Sangria 1.3 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–2015. All rights reserved.

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

Hierarchy For Package com.tavianator.sangria.contextual

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Interface Hierarchy

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

Copyright © 2014–2015. All rights reserved.

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

Uses of Package
com.tavianator.sangria.contextual

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

Copyright © 2014–2015. All rights reserved.

+ + diff --git a/1.3/apidocs/com/tavianator/sangria/core/DelayedError.html b/1.3/apidocs/com/tavianator/sangria/core/DelayedError.html new file mode 100644 index 0000000..6db1e14 --- /dev/null +++ b/1.3/apidocs/com/tavianator/sangria/core/DelayedError.html @@ -0,0 +1,297 @@ + + + + + + +DelayedError (Sangria 1.3 API) + + + + + + + +
+ + + + + +
+ + + +
+
com.tavianator.sangria.core
+

Class DelayedError

+
+
+ +
+
    +
  • +
    +
    +
    public class DelayedError
    +extends Object
    +
    Similar to Binder.addError(String, Object...), but can be canceled later. Useful for enforcing correct usage + of fluent APIs.
    +
    Since:
    +
    1.0
    +
    Version:
    +
    1.0
    +
    Author:
    +
    Tavian Barnes (tavianator@tavianator.com)
    +
  • +
+
+
+ +
+
+ +
+
+ + +
+ + + + + +
+ + +

Copyright © 2014–2015. All rights reserved.

+ + diff --git a/1.3/apidocs/com/tavianator/sangria/core/PotentialAnnotation.Visitor.html b/1.3/apidocs/com/tavianator/sangria/core/PotentialAnnotation.Visitor.html new file mode 100644 index 0000000..d556856 --- /dev/null +++ b/1.3/apidocs/com/tavianator/sangria/core/PotentialAnnotation.Visitor.html @@ -0,0 +1,260 @@ + + + + + + +PotentialAnnotation.Visitor (Sangria 1.3 API) + + + + + + + +
+ + + + + +
+ + + +
+
com.tavianator.sangria.core
+

Interface PotentialAnnotation.Visitor<T>

+
+
+
+
    +
  • +
    Type Parameters:
    T - The type to return.
    +
    +
    Enclosing class:
    +
    PotentialAnnotation
    +
    +
    +
    +
    public static interface PotentialAnnotation.Visitor<T>
    +
    A visitor interface to examine a PotentialAnnotation's annotation, if it exists.
    +
    Since:
    +
    1.1
    +
    Version:
    +
    1.1
    +
    Author:
    +
    Tavian Barnes (tavianator@tavianator.com)
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        visitNoAnnotation

        +
        T visitNoAnnotation()
        +
        Called when there is no annotation.
        +
        Returns:
        Any value.
        +
      • +
      + + + +
        +
      • +

        visitAnnotationType

        +
        T visitAnnotationType(Class<? extends Annotation> annotationType)
        +
        Called when an annotation type is stored.
        +
        Parameters:
        annotationType - The annotation type.
        +
        Returns:
        Any value.
        +
      • +
      + + + +
        +
      • +

        visitAnnotationInstance

        +
        T visitAnnotationInstance(Annotation annotation)
        +
        Called when an annotation instance is stored.
        +
        Parameters:
        annotation - The annotation instance.
        +
        Returns:
        Any value.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + +

Copyright © 2014–2015. All rights reserved.

+ + diff --git a/1.3/apidocs/com/tavianator/sangria/core/PotentialAnnotation.html b/1.3/apidocs/com/tavianator/sangria/core/PotentialAnnotation.html new file mode 100644 index 0000000..22bf983 --- /dev/null +++ b/1.3/apidocs/com/tavianator/sangria/core/PotentialAnnotation.html @@ -0,0 +1,431 @@ + + + + + + +PotentialAnnotation (Sangria 1.3 API) + + + + + + + +
+ + + + + +
+ + + +
+
com.tavianator.sangria.core
+

Class PotentialAnnotation

+
+
+ +
+
    +
  • +
    +
    +
    public abstract class PotentialAnnotation
    +extends Object
    +
    A record of stored annotations, perfect for builders with annotatedWith() methods.
    +
    Since:
    +
    1.1
    +
    Version:
    +
    1.2
    +
    Author:
    +
    Tavian Barnes (tavianator@tavianator.com)
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        from

        +
        public static PotentialAnnotation from(Key<?> key)
        +
        Extract the annotation from a Key.
        +
        Parameters:
        key - The Key whose annotation to use, if any.
        +
        Returns:
        A PotentialAnnotation with the annotation from key.
        Since:
        +
        1.2
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        hasAnnotation

        +
        public abstract boolean hasAnnotation()
        +
        Returns:
        Whether an annotation is present.
        +
      • +
      + + + +
        +
      • +

        getKey

        +
        public <T> Key<T> getKey(Class<T> type)
        +
        Create a Key with the given type and the stored annotation.
        +
        Type Parameters:
        T - The type of the key to create.
        Parameters:
        type - The type of the key to create.
        +
        Returns:
        A Key.
        +
      • +
      + + + +
        +
      • +

        getKey

        +
        public abstract <T> Key<T> getKey(TypeLiteral<T> type)
        +
        Create a Key with the given type and the stored annotation.
        +
        Type Parameters:
        T - The type of the key to create.
        Parameters:
        type - The type of the key to create.
        +
        Returns:
        A Key.
        +
      • +
      + + + +
        +
      • +

        accept

        +
        public abstract <T> T accept(PotentialAnnotation.Visitor<T> visitor)
        + +
        Type Parameters:
        T - The type for the visitor to return.
        Parameters:
        visitor - The visitor to accept.
        +
        Returns:
        The value produced by the visitor.
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public abstract boolean equals(Object o)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public abstract int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + +

Copyright © 2014–2015. All rights reserved.

+ + diff --git a/1.3/apidocs/com/tavianator/sangria/core/PrettyTypes.html b/1.3/apidocs/com/tavianator/sangria/core/PrettyTypes.html new file mode 100644 index 0000000..a4d72aa --- /dev/null +++ b/1.3/apidocs/com/tavianator/sangria/core/PrettyTypes.html @@ -0,0 +1,239 @@ + + + + + + +PrettyTypes (Sangria 1.3 API) + + + + + + + +
+ + + + + +
+ + + +
+
com.tavianator.sangria.core
+

Class PrettyTypes

+
+
+ +
+
    +
  • +
    +
    +
    public class PrettyTypes
    +extends Object
    +
    Utility class for pretty-printing messages containing types.
    +
    Since:
    +
    1.0
    +
    Version:
    +
    1.0
    +
    Author:
    +
    Tavian Barnes (tavianator@tavianator.com)
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        format

        +
        public static String format(String message,
        +            Object... args)
        +
        Format a message.
        +
        Parameters:
        message - The format string.
        args - The format arguments, possibly containing Class or Key instances to be + pretty-printed.
        +
        Returns:
        A formatted message.
        See Also:
        String.format(String, Object...)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + +

Copyright © 2014–2015. All rights reserved.

+ + diff --git a/1.3/apidocs/com/tavianator/sangria/core/Priority.html b/1.3/apidocs/com/tavianator/sangria/core/Priority.html new file mode 100644 index 0000000..a946ec1 --- /dev/null +++ b/1.3/apidocs/com/tavianator/sangria/core/Priority.html @@ -0,0 +1,373 @@ + + + + + + +Priority (Sangria 1.3 API) + + + + + + + +
+ + + + + +
+ + + +
+
com.tavianator.sangria.core
+

Class Priority

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Comparable<Priority>
    +
    +
    +
    +
    public class Priority
    +extends Object
    +implements Comparable<Priority>
    +
    A loosely-coupled, infinitely divisible priority/weight system. + +

    + This class implements an extensible priority system based on lexicographical ordering. In its simplest use, Priority.create(0) is ordered before Priority.create(1), then Priority.create(2), etc. +

    + +

    + To create a priority that is ordered between two existing ones, simply add another parameter: Priority.create(1, 1) comes after Priority.create(1), but before Priority.create(2). In this way, + priorities can always be inserted anywhere in a sequence. +

    + +

    + The next() method creates a priority that is ordered immediately following the current one, and is distinct + from all priorities obtained by any other means. This provides a convenient way to order entire segments of lists. +

    + +

    + A special priority, obtained by Priority.getDefault(), sorts before all other priorities. +

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

      Method Detail

      + + + +
        +
      • +

        getDefault

        +
        public static Priority getDefault()
        +
        Returns:
        The default priority, which comes before all other priorities.
        +
      • +
      + + + +
        +
      • +

        create

        +
        public static Priority create(int weight,
        +              int... weights)
        +
        Create a Priority with the given sequence.
        +
        Parameters:
        weight - The first value of the weight sequence.
        weights - An integer sequence. These sequences are sorted lexicographically, so Priority.create(1) + sorts before Priority.create(1, 1), which sorts before Priority.create(2).
        +
        Returns:
        A new Priority.
        +
      • +
      + + + +
        +
      • +

        isDefault

        +
        public boolean isDefault()
        +
        Returns:
        Whether this priority originated in a call to getDefault().
        +
      • +
      + + + +
        +
      • +

        next

        +
        public Priority next()
        +
        Returns:
        A new Priority which immediately follows this one, and which is distinct from all other + priorities obtained by create(int, int...).
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(Object obj)
        +
        +
        Overrides:
        +
        equals in class Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class Object
        +
        +
      • +
      + + + + + + + + +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + +

Copyright © 2014–2015. All rights reserved.

+ + diff --git a/1.3/apidocs/com/tavianator/sangria/core/TypeLiterals.html b/1.3/apidocs/com/tavianator/sangria/core/TypeLiterals.html new file mode 100644 index 0000000..eef484d --- /dev/null +++ b/1.3/apidocs/com/tavianator/sangria/core/TypeLiterals.html @@ -0,0 +1,356 @@ + + + + + + +TypeLiterals (Sangria 1.3 API) + + + + + + + +
+ + + + + +
+ + + +
+
com.tavianator.sangria.core
+

Class TypeLiterals

+
+
+ +
+
    +
  • +
    +
    +
    public class TypeLiterals
    +extends Object
    +
    Static utility functions for working with TypeLiterals.
    +
    Since:
    +
    1.1
    +
    Version:
    +
    1.1
    +
    Author:
    +
    Tavian Barnes (tavianator@tavianator.com)
    +
  • +
+
+
+ +
+
+ +
+
+ + +
+ + + + + +
+ + +

Copyright © 2014–2015. All rights reserved.

+ + diff --git a/1.3/apidocs/com/tavianator/sangria/core/UniqueAnnotations.html b/1.3/apidocs/com/tavianator/sangria/core/UniqueAnnotations.html new file mode 100644 index 0000000..4d48c2a --- /dev/null +++ b/1.3/apidocs/com/tavianator/sangria/core/UniqueAnnotations.html @@ -0,0 +1,232 @@ + + + + + + +UniqueAnnotations (Sangria 1.3 API) + + + + + + + +
+ + + + + +
+ + + +
+
com.tavianator.sangria.core
+

Class UniqueAnnotations

+
+
+ +
+
    +
  • +
    +
    +
    public class UniqueAnnotations
    +extends Object
    +
    Re-implementation of Guice's internal UniqueAnnotations utility.
    +
    Since:
    +
    1.0
    +
    Version:
    +
    1.0
    +
    Author:
    +
    Tavian Barnes (tavianator@tavianator.com)
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public static Annotation create()
        +
        Returns:
        An Annotation that will be unequal to every other annotation.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + +

Copyright © 2014–2015. All rights reserved.

+ + diff --git a/1.3/apidocs/com/tavianator/sangria/core/class-use/DelayedError.html b/1.3/apidocs/com/tavianator/sangria/core/class-use/DelayedError.html new file mode 100644 index 0000000..4820e4d --- /dev/null +++ b/1.3/apidocs/com/tavianator/sangria/core/class-use/DelayedError.html @@ -0,0 +1,177 @@ + + + + + + +Uses of Class com.tavianator.sangria.core.DelayedError (Sangria 1.3 API) + + + + + + + +
+ + + + + +
+ + +
+

Uses of Class
com.tavianator.sangria.core.DelayedError

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

Copyright © 2014–2015. All rights reserved.

+ + diff --git a/1.3/apidocs/com/tavianator/sangria/core/class-use/PotentialAnnotation.Visitor.html b/1.3/apidocs/com/tavianator/sangria/core/class-use/PotentialAnnotation.Visitor.html new file mode 100644 index 0000000..4c27496 --- /dev/null +++ b/1.3/apidocs/com/tavianator/sangria/core/class-use/PotentialAnnotation.Visitor.html @@ -0,0 +1,161 @@ + + + + + + +Uses of Interface com.tavianator.sangria.core.PotentialAnnotation.Visitor (Sangria 1.3 API) + + + + + + + +
+ + + + + +
+ + +
+

Uses of Interface
com.tavianator.sangria.core.PotentialAnnotation.Visitor

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

Copyright © 2014–2015. All rights reserved.

+ + diff --git a/1.3/apidocs/com/tavianator/sangria/core/class-use/PotentialAnnotation.html b/1.3/apidocs/com/tavianator/sangria/core/class-use/PotentialAnnotation.html new file mode 100644 index 0000000..72632d1 --- /dev/null +++ b/1.3/apidocs/com/tavianator/sangria/core/class-use/PotentialAnnotation.html @@ -0,0 +1,177 @@ + + + + + + +Uses of Class com.tavianator.sangria.core.PotentialAnnotation (Sangria 1.3 API) + + + + + + + +
+ + + + + +
+ + +
+

Uses of Class
com.tavianator.sangria.core.PotentialAnnotation

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

Copyright © 2014–2015. All rights reserved.

+ + diff --git a/1.3/apidocs/com/tavianator/sangria/core/class-use/PrettyTypes.html b/1.3/apidocs/com/tavianator/sangria/core/class-use/PrettyTypes.html new file mode 100644 index 0000000..93f1ec1 --- /dev/null +++ b/1.3/apidocs/com/tavianator/sangria/core/class-use/PrettyTypes.html @@ -0,0 +1,117 @@ + + + + + + +Uses of Class com.tavianator.sangria.core.PrettyTypes (Sangria 1.3 API) + + + + + + + +
+ + + + + +
+ + +
+

Uses of Class
com.tavianator.sangria.core.PrettyTypes

+
+
No usage of com.tavianator.sangria.core.PrettyTypes
+ +
+ + + + + +
+ + +

Copyright © 2014–2015. All rights reserved.

+ + diff --git a/1.3/apidocs/com/tavianator/sangria/core/class-use/Priority.html b/1.3/apidocs/com/tavianator/sangria/core/class-use/Priority.html new file mode 100644 index 0000000..cc10454 --- /dev/null +++ b/1.3/apidocs/com/tavianator/sangria/core/class-use/Priority.html @@ -0,0 +1,183 @@ + + + + + + +Uses of Class com.tavianator.sangria.core.Priority (Sangria 1.3 API) + + + + + + + +
+ + + + + +
+ + +
+

Uses of Class
com.tavianator.sangria.core.Priority

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

Copyright © 2014–2015. All rights reserved.

+ + diff --git a/1.3/apidocs/com/tavianator/sangria/core/class-use/TypeLiterals.html b/1.3/apidocs/com/tavianator/sangria/core/class-use/TypeLiterals.html new file mode 100644 index 0000000..9ecb264 --- /dev/null +++ b/1.3/apidocs/com/tavianator/sangria/core/class-use/TypeLiterals.html @@ -0,0 +1,117 @@ + + + + + + +Uses of Class com.tavianator.sangria.core.TypeLiterals (Sangria 1.3 API) + + + + + + + +
+ + + + + +
+ + +
+

Uses of Class
com.tavianator.sangria.core.TypeLiterals

+
+
No usage of com.tavianator.sangria.core.TypeLiterals
+ +
+ + + + + +
+ + +

Copyright © 2014–2015. All rights reserved.

+ + diff --git a/1.3/apidocs/com/tavianator/sangria/core/class-use/UniqueAnnotations.html b/1.3/apidocs/com/tavianator/sangria/core/class-use/UniqueAnnotations.html new file mode 100644 index 0000000..4c6cae3 --- /dev/null +++ b/1.3/apidocs/com/tavianator/sangria/core/class-use/UniqueAnnotations.html @@ -0,0 +1,117 @@ + + + + + + +Uses of Class com.tavianator.sangria.core.UniqueAnnotations (Sangria 1.3 API) + + + + + + + +
+ + + + + +
+ + +
+

Uses of Class
com.tavianator.sangria.core.UniqueAnnotations

+
+
No usage of com.tavianator.sangria.core.UniqueAnnotations
+ +
+ + + + + +
+ + +

Copyright © 2014–2015. All rights reserved.

+ + diff --git a/1.3/apidocs/com/tavianator/sangria/core/package-frame.html b/1.3/apidocs/com/tavianator/sangria/core/package-frame.html new file mode 100644 index 0000000..0a27fec --- /dev/null +++ b/1.3/apidocs/com/tavianator/sangria/core/package-frame.html @@ -0,0 +1,29 @@ + + + + + + +com.tavianator.sangria.core (Sangria 1.3 API) + + + + +

com.tavianator.sangria.core

+
+

Interfaces

+ +

Classes

+ +
+ + diff --git a/1.3/apidocs/com/tavianator/sangria/core/package-summary.html b/1.3/apidocs/com/tavianator/sangria/core/package-summary.html new file mode 100644 index 0000000..ea540d0 --- /dev/null +++ b/1.3/apidocs/com/tavianator/sangria/core/package-summary.html @@ -0,0 +1,199 @@ + + + + + + +com.tavianator.sangria.core (Sangria 1.3 API) + + + + + + + +
+ + + + + +
+ + +
+

Package com.tavianator.sangria.core

+
+
sangria-core: Common code for Sangria.
+
+

See: Description

+
+
+ + + + +

Package com.tavianator.sangria.core Description

+
sangria-core: Common code for Sangria.
+
Since:
+
1.0
+
Version:
+
1.1
+
Author:
+
Tavian Barnes (tavianator@tavianator.com)
+
+ +
+ + + + + +
+ + +

Copyright © 2014–2015. All rights reserved.

+ + diff --git a/1.3/apidocs/com/tavianator/sangria/core/package-tree.html b/1.3/apidocs/com/tavianator/sangria/core/package-tree.html new file mode 100644 index 0000000..d09f098 --- /dev/null +++ b/1.3/apidocs/com/tavianator/sangria/core/package-tree.html @@ -0,0 +1,139 @@ + + + + + + +com.tavianator.sangria.core Class Hierarchy (Sangria 1.3 API) + + + + + + + +
+ + + + + +
+ + +
+

Hierarchy For Package com.tavianator.sangria.core

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Interface Hierarchy

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

Copyright © 2014–2015. All rights reserved.

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

Uses of Package
com.tavianator.sangria.core

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

Copyright © 2014–2015. All rights reserved.

+ + diff --git a/1.3/apidocs/com/tavianator/sangria/lazy/Lazy.html b/1.3/apidocs/com/tavianator/sangria/lazy/Lazy.html new file mode 100644 index 0000000..bda78af --- /dev/null +++ b/1.3/apidocs/com/tavianator/sangria/lazy/Lazy.html @@ -0,0 +1,260 @@ + + + + + + +Lazy (Sangria 1.3 API) + + + + + + + +
+ + + + + +
+ + + +
+
com.tavianator.sangria.lazy
+

Class Lazy<T>

+
+
+ +
+
    +
  • +
    +
    +
    public final class Lazy<T>
    +extends Object
    +
    A lazily-loaded dependency. Like a Provider, calling get() will produce an instance of T. + Unlike a Provider, the same instance will be returned for every future call to get(). Different + Lazy instances are independent and will return different instances from get(). + +

    + Lazy works automatically for unqualified bindings, as long as just-in-time bindings are enabled. For + qualified bindings, or if explicit bindings are requred, use LazyBinder: +

    + +
    + // Either separately...
    + bind(Dependency.class)
    +         .annotatedWith(Names.named("name"))
    +         .to(RealDependency.class);
    +
    + LazyBinder.create(binder())
    +         .bind(Dependency.class)
    +         .annotatedWith(Names.named("name"));
    +
    + // ... or in one go
    + LazyBinder.create(binder())
    +         .bind(Dependency.class)
    +         .annotatedWith(Names.named("name"))
    +         .to(RealDependency.class);
    +
    + ...
    +
    + @Inject @Named("name") Lazy<Dependency> lazy;
    + 
    +
    Since:
    +
    1.2
    +
    Version:
    +
    1.2
    +
    Author:
    +
    Tavian Barnes (tavianator@tavianator.com)
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        get

        +
        public T get()
        +
        Returns:
        A lazily-produced value of type T.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + +

Copyright © 2014–2015. All rights reserved.

+ + diff --git a/1.3/apidocs/com/tavianator/sangria/lazy/LazyBinder.html b/1.3/apidocs/com/tavianator/sangria/lazy/LazyBinder.html new file mode 100644 index 0000000..fb0a879 --- /dev/null +++ b/1.3/apidocs/com/tavianator/sangria/lazy/LazyBinder.html @@ -0,0 +1,284 @@ + + + + + + +LazyBinder (Sangria 1.3 API) + + + + + + + +
+ + + + + +
+ + + +
+
com.tavianator.sangria.lazy
+

Class LazyBinder

+
+
+ +
+
    +
  • +
    +
    +
    public class LazyBinder
    +extends Object
    +
    Binder for Lazy instances.
    +
    Since:
    +
    1.2
    +
    Version:
    +
    1.2
    +
    Author:
    +
    Tavian Barnes (tavianator@tavianator.com)
    +
  • +
+
+
+ +
+
+ +
+
+ + +
+ + + + + +
+ + +

Copyright © 2014–2015. All rights reserved.

+ + diff --git a/1.3/apidocs/com/tavianator/sangria/lazy/LazyBinding.html b/1.3/apidocs/com/tavianator/sangria/lazy/LazyBinding.html new file mode 100644 index 0000000..0a4b06c --- /dev/null +++ b/1.3/apidocs/com/tavianator/sangria/lazy/LazyBinding.html @@ -0,0 +1,216 @@ + + + + + + +LazyBinding (Sangria 1.3 API) + + + + + + + +
+ + + + + +
+ + + +
+
com.tavianator.sangria.lazy
+

Interface LazyBinding<T>

+
+
+
+
    +
  • +
    +
    +
    public interface LazyBinding<T>
    +
    SPI for LazyBinder bindings.
    +
    Since:
    +
    1.2
    +
    Version:
    +
    1.2
    +
    Author:
    +
    Tavian Barnes (tavianator@tavianator.com)
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      Key<T>getTargetKey() 
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getTargetKey

        +
        Key<T> getTargetKey()
        +
        Returns:
        The key wrapped by the Lazy<T> binding.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + +

Copyright © 2014–2015. All rights reserved.

+ + diff --git a/1.3/apidocs/com/tavianator/sangria/lazy/LazyBindingVisitor.html b/1.3/apidocs/com/tavianator/sangria/lazy/LazyBindingVisitor.html new file mode 100644 index 0000000..ba0b570 --- /dev/null +++ b/1.3/apidocs/com/tavianator/sangria/lazy/LazyBindingVisitor.html @@ -0,0 +1,232 @@ + + + + + + +LazyBindingVisitor (Sangria 1.3 API) + + + + + + + +
+ + + + + +
+ + + +
+
com.tavianator.sangria.lazy
+

Interface LazyBindingVisitor<T,V>

+
+
+
+
    +
  • +
    +
    All Superinterfaces:
    +
    BindingTargetVisitor<T,V>
    +
    +
    +
    +
    public interface LazyBindingVisitor<T,V>
    +extends BindingTargetVisitor<T,V>
    +
    Visitor interface for the lazy binding SPI.
    +
    Since:
    +
    1.2
    +
    Version:
    +
    1.2
    +
    Author:
    +
    Tavian Barnes (tavianator@tavianator.com)
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        visit

        +
        V visit(LazyBinding<? extends T> binding)
        +
        Visit a LazyBinding.
        +
        Parameters:
        binding - The binding to visit.
        +
        Returns:
        A value of type V.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + +

Copyright © 2014–2015. All rights reserved.

+ + diff --git a/1.3/apidocs/com/tavianator/sangria/lazy/LazyScopes.html b/1.3/apidocs/com/tavianator/sangria/lazy/LazyScopes.html new file mode 100644 index 0000000..214e640 --- /dev/null +++ b/1.3/apidocs/com/tavianator/sangria/lazy/LazyScopes.html @@ -0,0 +1,277 @@ + + + + + + +LazyScopes (Sangria 1.3 API) + + + + + + + +
+ + + + + +
+ + + +
+
com.tavianator.sangria.lazy
+

Class LazyScopes

+
+
+ +
+
    +
  • +
    +
    +
    public class LazyScopes
    +extends Object
    +
    Lazy scope implementations.
    +
    Since:
    +
    1.2
    +
    Version:
    +
    1.2
    +
    Author:
    +
    Tavian Barnes (tavianator@tavianator.com)
    +
  • +
+
+
+ +
+
+ +
+
+ + +
+ + + + + +
+ + +

Copyright © 2014–2015. All rights reserved.

+ + diff --git a/1.3/apidocs/com/tavianator/sangria/lazy/LazySingleton.html b/1.3/apidocs/com/tavianator/sangria/lazy/LazySingleton.html new file mode 100644 index 0000000..3a063c9 --- /dev/null +++ b/1.3/apidocs/com/tavianator/sangria/lazy/LazySingleton.html @@ -0,0 +1,163 @@ + + + + + + +LazySingleton (Sangria 1.3 API) + + + + + + + +
+ + + + + +
+ + + +
+
com.tavianator.sangria.lazy
+

Annotation Type LazySingleton

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

Copyright © 2014–2015. All rights reserved.

+ + diff --git a/1.3/apidocs/com/tavianator/sangria/lazy/SangriaLazyModule.html b/1.3/apidocs/com/tavianator/sangria/lazy/SangriaLazyModule.html new file mode 100644 index 0000000..20710a8 --- /dev/null +++ b/1.3/apidocs/com/tavianator/sangria/lazy/SangriaLazyModule.html @@ -0,0 +1,285 @@ + + + + + + +SangriaLazyModule (Sangria 1.3 API) + + + + + + + +
+ + + + + +
+ + + +
+
com.tavianator.sangria.lazy
+

Class SangriaLazyModule

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Module
    +
    +
    +
    +
    public class SangriaLazyModule
    +extends AbstractModule
    +
    Module for lazy initialization features.
    +
    Since:
    +
    1.2
    +
    Version:
    +
    1.2
    +
    Author:
    +
    Tavian Barnes (tavianator@tavianator.com)
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        SangriaLazyModule

        +
        public SangriaLazyModule()
        +
      • +
      +
    • +
    + + +
  • +
+
+
+ + +
+ + + + + +
+ + +

Copyright © 2014–2015. All rights reserved.

+ + diff --git a/1.3/apidocs/com/tavianator/sangria/lazy/class-use/Lazy.html b/1.3/apidocs/com/tavianator/sangria/lazy/class-use/Lazy.html new file mode 100644 index 0000000..b20884a --- /dev/null +++ b/1.3/apidocs/com/tavianator/sangria/lazy/class-use/Lazy.html @@ -0,0 +1,117 @@ + + + + + + +Uses of Class com.tavianator.sangria.lazy.Lazy (Sangria 1.3 API) + + + + + + + +
+ + + + + +
+ + +
+

Uses of Class
com.tavianator.sangria.lazy.Lazy

+
+
No usage of com.tavianator.sangria.lazy.Lazy
+ +
+ + + + + +
+ + +

Copyright © 2014–2015. All rights reserved.

+ + diff --git a/1.3/apidocs/com/tavianator/sangria/lazy/class-use/LazyBinder.html b/1.3/apidocs/com/tavianator/sangria/lazy/class-use/LazyBinder.html new file mode 100644 index 0000000..2d2a642 --- /dev/null +++ b/1.3/apidocs/com/tavianator/sangria/lazy/class-use/LazyBinder.html @@ -0,0 +1,161 @@ + + + + + + +Uses of Class com.tavianator.sangria.lazy.LazyBinder (Sangria 1.3 API) + + + + + + + +
+ + + + + +
+ + +
+

Uses of Class
com.tavianator.sangria.lazy.LazyBinder

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

Copyright © 2014–2015. All rights reserved.

+ + diff --git a/1.3/apidocs/com/tavianator/sangria/lazy/class-use/LazyBinding.html b/1.3/apidocs/com/tavianator/sangria/lazy/class-use/LazyBinding.html new file mode 100644 index 0000000..8ad118e --- /dev/null +++ b/1.3/apidocs/com/tavianator/sangria/lazy/class-use/LazyBinding.html @@ -0,0 +1,161 @@ + + + + + + +Uses of Interface com.tavianator.sangria.lazy.LazyBinding (Sangria 1.3 API) + + + + + + + +
+ + + + + +
+ + +
+

Uses of Interface
com.tavianator.sangria.lazy.LazyBinding

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

Copyright © 2014–2015. All rights reserved.

+ + diff --git a/1.3/apidocs/com/tavianator/sangria/lazy/class-use/LazyBindingVisitor.html b/1.3/apidocs/com/tavianator/sangria/lazy/class-use/LazyBindingVisitor.html new file mode 100644 index 0000000..bef267e --- /dev/null +++ b/1.3/apidocs/com/tavianator/sangria/lazy/class-use/LazyBindingVisitor.html @@ -0,0 +1,117 @@ + + + + + + +Uses of Interface com.tavianator.sangria.lazy.LazyBindingVisitor (Sangria 1.3 API) + + + + + + + +
+ + + + + +
+ + +
+

Uses of Interface
com.tavianator.sangria.lazy.LazyBindingVisitor

+
+
No usage of com.tavianator.sangria.lazy.LazyBindingVisitor
+ +
+ + + + + +
+ + +

Copyright © 2014–2015. All rights reserved.

+ + diff --git a/1.3/apidocs/com/tavianator/sangria/lazy/class-use/LazyScopes.html b/1.3/apidocs/com/tavianator/sangria/lazy/class-use/LazyScopes.html new file mode 100644 index 0000000..708096f --- /dev/null +++ b/1.3/apidocs/com/tavianator/sangria/lazy/class-use/LazyScopes.html @@ -0,0 +1,117 @@ + + + + + + +Uses of Class com.tavianator.sangria.lazy.LazyScopes (Sangria 1.3 API) + + + + + + + +
+ + + + + +
+ + +
+

Uses of Class
com.tavianator.sangria.lazy.LazyScopes

+
+
No usage of com.tavianator.sangria.lazy.LazyScopes
+ +
+ + + + + +
+ + +

Copyright © 2014–2015. All rights reserved.

+ + diff --git a/1.3/apidocs/com/tavianator/sangria/lazy/class-use/LazySingleton.html b/1.3/apidocs/com/tavianator/sangria/lazy/class-use/LazySingleton.html new file mode 100644 index 0000000..0e322fc --- /dev/null +++ b/1.3/apidocs/com/tavianator/sangria/lazy/class-use/LazySingleton.html @@ -0,0 +1,117 @@ + + + + + + +Uses of Class com.tavianator.sangria.lazy.LazySingleton (Sangria 1.3 API) + + + + + + + +
+ + + + + +
+ + +
+

Uses of Class
com.tavianator.sangria.lazy.LazySingleton

+
+
No usage of com.tavianator.sangria.lazy.LazySingleton
+ +
+ + + + + +
+ + +

Copyright © 2014–2015. All rights reserved.

+ + diff --git a/1.3/apidocs/com/tavianator/sangria/lazy/class-use/SangriaLazyModule.html b/1.3/apidocs/com/tavianator/sangria/lazy/class-use/SangriaLazyModule.html new file mode 100644 index 0000000..dff8107 --- /dev/null +++ b/1.3/apidocs/com/tavianator/sangria/lazy/class-use/SangriaLazyModule.html @@ -0,0 +1,117 @@ + + + + + + +Uses of Class com.tavianator.sangria.lazy.SangriaLazyModule (Sangria 1.3 API) + + + + + + + +
+ + + + + +
+ + +
+

Uses of Class
com.tavianator.sangria.lazy.SangriaLazyModule

+
+
No usage of com.tavianator.sangria.lazy.SangriaLazyModule
+ +
+ + + + + +
+ + +

Copyright © 2014–2015. All rights reserved.

+ + diff --git a/1.3/apidocs/com/tavianator/sangria/lazy/package-frame.html b/1.3/apidocs/com/tavianator/sangria/lazy/package-frame.html new file mode 100644 index 0000000..495b133 --- /dev/null +++ b/1.3/apidocs/com/tavianator/sangria/lazy/package-frame.html @@ -0,0 +1,32 @@ + + + + + + +com.tavianator.sangria.lazy (Sangria 1.3 API) + + + + +

com.tavianator.sangria.lazy

+
+

Interfaces

+ +

Classes

+ +

Annotation Types

+ +
+ + diff --git a/1.3/apidocs/com/tavianator/sangria/lazy/package-summary.html b/1.3/apidocs/com/tavianator/sangria/lazy/package-summary.html new file mode 100644 index 0000000..2adbc53 --- /dev/null +++ b/1.3/apidocs/com/tavianator/sangria/lazy/package-summary.html @@ -0,0 +1,210 @@ + + + + + + +com.tavianator.sangria.lazy (Sangria 1.3 API) + + + + + + + +
+ + + + + +
+ + +
+

Package com.tavianator.sangria.lazy

+
+
sangria-lazy: Lazy loading.
+
+

See: Description

+
+
+ + + + +

Package com.tavianator.sangria.lazy Description

+
sangria-lazy: Lazy loading.
+
Since:
+
1.2
+
Version:
+
1.2
+
Author:
+
Tavian Barnes (tavianator@tavianator.com)
+
+ +
+ + + + + +
+ + +

Copyright © 2014–2015. All rights reserved.

+ + diff --git a/1.3/apidocs/com/tavianator/sangria/lazy/package-tree.html b/1.3/apidocs/com/tavianator/sangria/lazy/package-tree.html new file mode 100644 index 0000000..1093c77 --- /dev/null +++ b/1.3/apidocs/com/tavianator/sangria/lazy/package-tree.html @@ -0,0 +1,150 @@ + + + + + + +com.tavianator.sangria.lazy Class Hierarchy (Sangria 1.3 API) + + + + + + + +
+ + + + + +
+ + +
+

Hierarchy For Package com.tavianator.sangria.lazy

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Interface Hierarchy

+ +

Annotation Type Hierarchy

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

Copyright © 2014–2015. All rights reserved.

+ + diff --git a/1.3/apidocs/com/tavianator/sangria/lazy/package-use.html b/1.3/apidocs/com/tavianator/sangria/lazy/package-use.html new file mode 100644 index 0000000..7871862 --- /dev/null +++ b/1.3/apidocs/com/tavianator/sangria/lazy/package-use.html @@ -0,0 +1,159 @@ + + + + + + +Uses of Package com.tavianator.sangria.lazy (Sangria 1.3 API) + + + + + + + +
+ + + + + +
+ + +
+

Uses of Package
com.tavianator.sangria.lazy

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

Copyright © 2014–2015. All rights reserved.

+ + diff --git a/1.3/apidocs/com/tavianator/sangria/listbinder/AnnotatedListBinderBuilder.html b/1.3/apidocs/com/tavianator/sangria/listbinder/AnnotatedListBinderBuilder.html new file mode 100644 index 0000000..15fafbc --- /dev/null +++ b/1.3/apidocs/com/tavianator/sangria/listbinder/AnnotatedListBinderBuilder.html @@ -0,0 +1,250 @@ + + + + + + +AnnotatedListBinderBuilder (Sangria 1.3 API) + + + + + + + +
+ + + + + +
+ + + +
+
com.tavianator.sangria.listbinder
+

Interface AnnotatedListBinderBuilder<T>

+
+
+
+
    +
  • +
    +
    All Superinterfaces:
    +
    ListBinderBuilder<T>
    +
    +
    +
    +
    public interface AnnotatedListBinderBuilder<T>
    +extends ListBinderBuilder<T>
    +
    Fluent builder interface.
    +
    Since:
    +
    1.1
    +
    Version:
    +
    1.1
    +
    Author:
    +
    Tavian Barnes (tavianator@tavianator.com)
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        annotatedWith

        +
        ListBinderBuilder<T> annotatedWith(Class<? extends Annotation> annotationType)
        +
        Make a binder for an annotated list type.
        +
        Parameters:
        annotationType - The annotation type for the list.
        +
        Returns:
        A fluent builder.
        +
      • +
      + + + +
        +
      • +

        annotatedWith

        +
        ListBinderBuilder<T> annotatedWith(Annotation annotation)
        +
        Make a binder for an annotated list type.
        +
        Parameters:
        annotation - The annotation instance for the list.
        +
        Returns:
        A fluent builder.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + +

Copyright © 2014–2015. All rights reserved.

+ + diff --git a/1.3/apidocs/com/tavianator/sangria/listbinder/ListBinder.html b/1.3/apidocs/com/tavianator/sangria/listbinder/ListBinder.html new file mode 100644 index 0000000..4d08b24 --- /dev/null +++ b/1.3/apidocs/com/tavianator/sangria/listbinder/ListBinder.html @@ -0,0 +1,353 @@ + + + + + + +ListBinder (Sangria 1.3 API) + + + + + + + +
+ + + + + +
+ + + +
+
com.tavianator.sangria.listbinder
+

Class ListBinder<T>

+
+
+ +
+
    +
  • +
    Type Parameters:
    T - The type of the list element.
    +
    +
    +
    public class ListBinder<T>
    +extends Object
    +
    A multi-binder with guaranteed order. + +

    + ListBinder is much like Multibinder, except it provides a guaranteed iteration order, and binds a + List instead of a Set. For example: +

    + +
    + ListBinder<String> listBinder = ListBinder.build(binder(), String.class)
    +         .withDefaultPriority();
    + listBinder.addBinding().toInstance("a");
    + listBinder.addBinding().toInstance("b");
    + 
    + +

    + This will create a binding for a List<String>, which contains "a" followed by "b". It also + creates a binding for List<Provider<String>> — this may be useful in more advanced cases to allow list + elements to be lazily loaded. +

    + +

    To add an annotation to the list binding, simply write this:

    + +
    + ListBinder<String> listBinder = ListBinder.build(binder(), String.class)
    +         .annotatedWith(Names.named("name"))
    +         .withDefaultPriority();
    + 
    + +

    + and the created binding will be @Named("name") List<String> instead. +

    + +

    + For large lists, it may be helpful to split up their specification across different modules. This is accomplished by + specifying priorities for the ListBinders when they are created. For example: +

    + +
    + // In some module
    + ListBinder<String> listBinder1 = ListBinder.build(binder(), String.class)
    +         .withPriority(0);
    + listBinder1.addBinding().toInstance("a");
    + listBinder1.addBinding().toInstance("b");
    +
    + // ... some other module
    + ListBinder<String> listBinder2 = ListBinder.build(binder(), String.class)
    +         .withPriority(1);
    + listBinder2.addBinding().toInstance("c");
    + listBinder2.addBinding().toInstance("d");
    + 
    + +

    + The generated list will contain "a", "b", "c", "d", in order. This happens because + the first ListBinder had a smaller priority, so its entries come first. For more information about the + priority system, see Priority. +

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

Copyright © 2014–2015. All rights reserved.

+ + diff --git a/1.3/apidocs/com/tavianator/sangria/listbinder/ListBinderBuilder.html b/1.3/apidocs/com/tavianator/sangria/listbinder/ListBinderBuilder.html new file mode 100644 index 0000000..d0e144a --- /dev/null +++ b/1.3/apidocs/com/tavianator/sangria/listbinder/ListBinderBuilder.html @@ -0,0 +1,236 @@ + + + + + + +ListBinderBuilder (Sangria 1.3 API) + + + + + + + +
+ + + + + +
+ + + +
+
com.tavianator.sangria.listbinder
+

Interface ListBinderBuilder<T>

+
+
+
+
    +
  • +
    +
    All Known Subinterfaces:
    +
    AnnotatedListBinderBuilder<T>
    +
    +
    +
    +
    public interface ListBinderBuilder<T>
    +
    Fluent builder interface.
    +
    Since:
    +
    1.1
    +
    Version:
    +
    1.1
    +
    Author:
    +
    Tavian Barnes (tavianator@tavianator.com)
    +
  • +
+
+
+ +
+
+ +
+
+ + +
+ + + + + +
+ + +

Copyright © 2014–2015. All rights reserved.

+ + diff --git a/1.3/apidocs/com/tavianator/sangria/listbinder/class-use/AnnotatedListBinderBuilder.html b/1.3/apidocs/com/tavianator/sangria/listbinder/class-use/AnnotatedListBinderBuilder.html new file mode 100644 index 0000000..474e956 --- /dev/null +++ b/1.3/apidocs/com/tavianator/sangria/listbinder/class-use/AnnotatedListBinderBuilder.html @@ -0,0 +1,169 @@ + + + + + + +Uses of Interface com.tavianator.sangria.listbinder.AnnotatedListBinderBuilder (Sangria 1.3 API) + + + + + + + +
+ + + + + +
+ + +
+

Uses of Interface
com.tavianator.sangria.listbinder.AnnotatedListBinderBuilder

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

Copyright © 2014–2015. All rights reserved.

+ + diff --git a/1.3/apidocs/com/tavianator/sangria/listbinder/class-use/ListBinder.html b/1.3/apidocs/com/tavianator/sangria/listbinder/class-use/ListBinder.html new file mode 100644 index 0000000..201f8ed --- /dev/null +++ b/1.3/apidocs/com/tavianator/sangria/listbinder/class-use/ListBinder.html @@ -0,0 +1,164 @@ + + + + + + +Uses of Class com.tavianator.sangria.listbinder.ListBinder (Sangria 1.3 API) + + + + + + + +
+ + + + + +
+ + +
+

Uses of Class
com.tavianator.sangria.listbinder.ListBinder

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

Copyright © 2014–2015. All rights reserved.

+ + diff --git a/1.3/apidocs/com/tavianator/sangria/listbinder/class-use/ListBinderBuilder.html b/1.3/apidocs/com/tavianator/sangria/listbinder/class-use/ListBinderBuilder.html new file mode 100644 index 0000000..cce2356 --- /dev/null +++ b/1.3/apidocs/com/tavianator/sangria/listbinder/class-use/ListBinderBuilder.html @@ -0,0 +1,182 @@ + + + + + + +Uses of Interface com.tavianator.sangria.listbinder.ListBinderBuilder (Sangria 1.3 API) + + + + + + + +
+ + + + + +
+ + +
+

Uses of Interface
com.tavianator.sangria.listbinder.ListBinderBuilder

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

Copyright © 2014–2015. All rights reserved.

+ + diff --git a/1.3/apidocs/com/tavianator/sangria/listbinder/package-frame.html b/1.3/apidocs/com/tavianator/sangria/listbinder/package-frame.html new file mode 100644 index 0000000..131b866 --- /dev/null +++ b/1.3/apidocs/com/tavianator/sangria/listbinder/package-frame.html @@ -0,0 +1,25 @@ + + + + + + +com.tavianator.sangria.listbinder (Sangria 1.3 API) + + + + +

com.tavianator.sangria.listbinder

+
+

Interfaces

+ +

Classes

+ +
+ + diff --git a/1.3/apidocs/com/tavianator/sangria/listbinder/package-summary.html b/1.3/apidocs/com/tavianator/sangria/listbinder/package-summary.html new file mode 100644 index 0000000..701f578 --- /dev/null +++ b/1.3/apidocs/com/tavianator/sangria/listbinder/package-summary.html @@ -0,0 +1,175 @@ + + + + + + +com.tavianator.sangria.listbinder (Sangria 1.3 API) + + + + + + + +
+ + + + + +
+ + +
+

Package com.tavianator.sangria.listbinder

+
+
sangria-listbinder: A multi-binder with guaranteed order.
+
+

See: Description

+
+
+ + + + +

Package com.tavianator.sangria.listbinder Description

+
sangria-listbinder: A multi-binder with guaranteed order.
+
Since:
+
1.1
+
Version:
+
1.1
+
Author:
+
Tavian Barnes (tavianator@tavianator.com)
+
+ +
+ + + + + +
+ + +

Copyright © 2014–2015. All rights reserved.

+ + diff --git a/1.3/apidocs/com/tavianator/sangria/listbinder/package-tree.html b/1.3/apidocs/com/tavianator/sangria/listbinder/package-tree.html new file mode 100644 index 0000000..ae9f87d --- /dev/null +++ b/1.3/apidocs/com/tavianator/sangria/listbinder/package-tree.html @@ -0,0 +1,138 @@ + + + + + + +com.tavianator.sangria.listbinder Class Hierarchy (Sangria 1.3 API) + + + + + + + +
+ + + + + +
+ + +
+

Hierarchy For Package com.tavianator.sangria.listbinder

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Interface Hierarchy

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

Copyright © 2014–2015. All rights reserved.

+ + diff --git a/1.3/apidocs/com/tavianator/sangria/listbinder/package-use.html b/1.3/apidocs/com/tavianator/sangria/listbinder/package-use.html new file mode 100644 index 0000000..f75d531 --- /dev/null +++ b/1.3/apidocs/com/tavianator/sangria/listbinder/package-use.html @@ -0,0 +1,164 @@ + + + + + + +Uses of Package com.tavianator.sangria.listbinder (Sangria 1.3 API) + + + + + + + +
+ + + + + +
+ + +
+

Uses of Package
com.tavianator.sangria.listbinder

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

Copyright © 2014–2015. All rights reserved.

+ + diff --git a/1.3/apidocs/com/tavianator/sangria/log4j/SangriaLog4jModule.html b/1.3/apidocs/com/tavianator/sangria/log4j/SangriaLog4jModule.html new file mode 100644 index 0000000..5afbf09 --- /dev/null +++ b/1.3/apidocs/com/tavianator/sangria/log4j/SangriaLog4jModule.html @@ -0,0 +1,285 @@ + + + + + + +SangriaLog4jModule (Sangria 1.3 API) + + + + + + + +
+ + + + + +
+ + + +
+
com.tavianator.sangria.log4j
+

Class SangriaLog4jModule

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Module
    +
    +
    +
    +
    public class SangriaLog4jModule
    +extends AbstractModule
    +
    Module for Log4j Logger injection.
    +
    Since:
    +
    1.0
    +
    Version:
    +
    1.0
    +
    Author:
    +
    Tavian Barnes (tavianator@tavianator.com)
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        SangriaLog4jModule

        +
        public SangriaLog4jModule()
        +
      • +
      +
    • +
    + + +
  • +
+
+
+ + +
+ + + + + +
+ + +

Copyright © 2014–2015. All rights reserved.

+ + diff --git a/1.3/apidocs/com/tavianator/sangria/log4j/class-use/SangriaLog4jModule.html b/1.3/apidocs/com/tavianator/sangria/log4j/class-use/SangriaLog4jModule.html new file mode 100644 index 0000000..fec8873 --- /dev/null +++ b/1.3/apidocs/com/tavianator/sangria/log4j/class-use/SangriaLog4jModule.html @@ -0,0 +1,117 @@ + + + + + + +Uses of Class com.tavianator.sangria.log4j.SangriaLog4jModule (Sangria 1.3 API) + + + + + + + +
+ + + + + +
+ + +
+

Uses of Class
com.tavianator.sangria.log4j.SangriaLog4jModule

+
+
No usage of com.tavianator.sangria.log4j.SangriaLog4jModule
+ +
+ + + + + +
+ + +

Copyright © 2014–2015. All rights reserved.

+ + diff --git a/1.3/apidocs/com/tavianator/sangria/log4j/package-frame.html b/1.3/apidocs/com/tavianator/sangria/log4j/package-frame.html new file mode 100644 index 0000000..c473d57 --- /dev/null +++ b/1.3/apidocs/com/tavianator/sangria/log4j/package-frame.html @@ -0,0 +1,20 @@ + + + + + + +com.tavianator.sangria.log4j (Sangria 1.3 API) + + + + +

com.tavianator.sangria.log4j

+
+

Classes

+ +
+ + diff --git a/1.3/apidocs/com/tavianator/sangria/log4j/package-summary.html b/1.3/apidocs/com/tavianator/sangria/log4j/package-summary.html new file mode 100644 index 0000000..2c5f403 --- /dev/null +++ b/1.3/apidocs/com/tavianator/sangria/log4j/package-summary.html @@ -0,0 +1,152 @@ + + + + + + +com.tavianator.sangria.log4j (Sangria 1.3 API) + + + + + + + +
+ + + + + +
+ + +
+

Package com.tavianator.sangria.log4j

+
+
sangria-log4j: Log4j Logger injection.
+
+

See: Description

+
+
+ + + + +

Package com.tavianator.sangria.log4j Description

+
sangria-log4j: Log4j Logger injection.
+
Since:
+
1.0
+
Version:
+
1.0
+
Author:
+
Tavian Barnes (tavianator@tavianator.com)
+
+ +
+ + + + + +
+ + +

Copyright © 2014–2015. All rights reserved.

+ + diff --git a/1.3/apidocs/com/tavianator/sangria/log4j/package-tree.html b/1.3/apidocs/com/tavianator/sangria/log4j/package-tree.html new file mode 100644 index 0000000..fa6c547 --- /dev/null +++ b/1.3/apidocs/com/tavianator/sangria/log4j/package-tree.html @@ -0,0 +1,134 @@ + + + + + + +com.tavianator.sangria.log4j Class Hierarchy (Sangria 1.3 API) + + + + + + + +
+ + + + + +
+ + +
+

Hierarchy For Package com.tavianator.sangria.log4j

+Package Hierarchies: + +
+
+

Class Hierarchy

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

Copyright © 2014–2015. All rights reserved.

+ + diff --git a/1.3/apidocs/com/tavianator/sangria/log4j/package-use.html b/1.3/apidocs/com/tavianator/sangria/log4j/package-use.html new file mode 100644 index 0000000..47dd600 --- /dev/null +++ b/1.3/apidocs/com/tavianator/sangria/log4j/package-use.html @@ -0,0 +1,117 @@ + + + + + + +Uses of Package com.tavianator.sangria.log4j (Sangria 1.3 API) + + + + + + + +
+ + + + + +
+ + +
+

Uses of Package
com.tavianator.sangria.log4j

+
+
No usage of com.tavianator.sangria.log4j
+ +
+ + + + + +
+ + +

Copyright © 2014–2015. All rights reserved.

+ + diff --git a/1.3/apidocs/com/tavianator/sangria/slf4j/SangriaSlf4jModule.html b/1.3/apidocs/com/tavianator/sangria/slf4j/SangriaSlf4jModule.html new file mode 100644 index 0000000..41d5f72 --- /dev/null +++ b/1.3/apidocs/com/tavianator/sangria/slf4j/SangriaSlf4jModule.html @@ -0,0 +1,285 @@ + + + + + + +SangriaSlf4jModule (Sangria 1.3 API) + + + + + + + +
+ + + + + +
+ + + +
+
com.tavianator.sangria.slf4j
+

Class SangriaSlf4jModule

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Module
    +
    +
    +
    +
    public class SangriaSlf4jModule
    +extends AbstractModule
    +
    Module for SLF4J Logger injection.
    +
    Since:
    +
    1.0
    +
    Version:
    +
    1.0
    +
    Author:
    +
    Tavian Barnes (tavianator@tavianator.com)
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        SangriaSlf4jModule

        +
        public SangriaSlf4jModule()
        +
      • +
      +
    • +
    + + +
  • +
+
+
+ + +
+ + + + + +
+ + +

Copyright © 2014–2015. All rights reserved.

+ + diff --git a/1.3/apidocs/com/tavianator/sangria/slf4j/class-use/SangriaSlf4jModule.html b/1.3/apidocs/com/tavianator/sangria/slf4j/class-use/SangriaSlf4jModule.html new file mode 100644 index 0000000..1c008f0 --- /dev/null +++ b/1.3/apidocs/com/tavianator/sangria/slf4j/class-use/SangriaSlf4jModule.html @@ -0,0 +1,117 @@ + + + + + + +Uses of Class com.tavianator.sangria.slf4j.SangriaSlf4jModule (Sangria 1.3 API) + + + + + + + +
+ + + + + +
+ + +
+

Uses of Class
com.tavianator.sangria.slf4j.SangriaSlf4jModule

+
+
No usage of com.tavianator.sangria.slf4j.SangriaSlf4jModule
+ +
+ + + + + +
+ + +

Copyright © 2014–2015. All rights reserved.

+ + diff --git a/1.3/apidocs/com/tavianator/sangria/slf4j/package-frame.html b/1.3/apidocs/com/tavianator/sangria/slf4j/package-frame.html new file mode 100644 index 0000000..607e385 --- /dev/null +++ b/1.3/apidocs/com/tavianator/sangria/slf4j/package-frame.html @@ -0,0 +1,20 @@ + + + + + + +com.tavianator.sangria.slf4j (Sangria 1.3 API) + + + + +

com.tavianator.sangria.slf4j

+
+

Classes

+ +
+ + diff --git a/1.3/apidocs/com/tavianator/sangria/slf4j/package-summary.html b/1.3/apidocs/com/tavianator/sangria/slf4j/package-summary.html new file mode 100644 index 0000000..8c042ea --- /dev/null +++ b/1.3/apidocs/com/tavianator/sangria/slf4j/package-summary.html @@ -0,0 +1,152 @@ + + + + + + +com.tavianator.sangria.slf4j (Sangria 1.3 API) + + + + + + + +
+ + + + + +
+ + +
+

Package com.tavianator.sangria.slf4j

+
+
sangria-slf4j: SLF4J Logger injection.
+
+

See: Description

+
+
+ + + + +

Package com.tavianator.sangria.slf4j Description

+
sangria-slf4j: SLF4J Logger injection.
+
Since:
+
1.0
+
Version:
+
1.0
+
Author:
+
Tavian Barnes (tavianator@tavianator.com)
+
+ +
+ + + + + +
+ + +

Copyright © 2014–2015. All rights reserved.

+ + diff --git a/1.3/apidocs/com/tavianator/sangria/slf4j/package-tree.html b/1.3/apidocs/com/tavianator/sangria/slf4j/package-tree.html new file mode 100644 index 0000000..f635fae --- /dev/null +++ b/1.3/apidocs/com/tavianator/sangria/slf4j/package-tree.html @@ -0,0 +1,134 @@ + + + + + + +com.tavianator.sangria.slf4j Class Hierarchy (Sangria 1.3 API) + + + + + + + +
+ + + + + +
+ + +
+

Hierarchy For Package com.tavianator.sangria.slf4j

+Package Hierarchies: + +
+
+

Class Hierarchy

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

Copyright © 2014–2015. All rights reserved.

+ + diff --git a/1.3/apidocs/com/tavianator/sangria/slf4j/package-use.html b/1.3/apidocs/com/tavianator/sangria/slf4j/package-use.html new file mode 100644 index 0000000..bbe6301 --- /dev/null +++ b/1.3/apidocs/com/tavianator/sangria/slf4j/package-use.html @@ -0,0 +1,117 @@ + + + + + + +Uses of Package com.tavianator.sangria.slf4j (Sangria 1.3 API) + + + + + + + +
+ + + + + +
+ + +
+

Uses of Package
com.tavianator.sangria.slf4j

+
+
No usage of com.tavianator.sangria.slf4j
+ +
+ + + + + +
+ + +

Copyright © 2014–2015. All rights reserved.

+ + diff --git a/1.3/apidocs/com/tavianator/sangria/test/SangriaMatchers.html b/1.3/apidocs/com/tavianator/sangria/test/SangriaMatchers.html new file mode 100644 index 0000000..dffaf5b --- /dev/null +++ b/1.3/apidocs/com/tavianator/sangria/test/SangriaMatchers.html @@ -0,0 +1,246 @@ + + + + + + +SangriaMatchers (Sangria 1.3 API) + + + + + + + +
+ + + + + +
+ + + +
+
com.tavianator.sangria.test
+

Class SangriaMatchers

+
+
+ +
+
    +
  • +
    +
    +
    public final class SangriaMatchers
    +extends Object
    +
    Guice-related Hamcrest matchers.
    +
    Since:
    +
    1.2
    +
    Version:
    +
    1.2
    +
    Author:
    +
    Tavian Barnes (tavianator@tavianator.com)
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        atomic

        +
        public static Matcher<Module> atomic()
        +
        Returns:
        A Matcher that checks whether a Module's bindings can be de-duplicated successfully.
        +
      • +
      + + + +
        +
      • +

        followsBestPractices

        +
        public static Matcher<Module> followsBestPractices()
        +
        Returns:
        A Matcher that checks whether a Module follows Guice best practices.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + +

Copyright © 2014–2015. All rights reserved.

+ + diff --git a/1.3/apidocs/com/tavianator/sangria/test/class-use/SangriaMatchers.html b/1.3/apidocs/com/tavianator/sangria/test/class-use/SangriaMatchers.html new file mode 100644 index 0000000..56f4c8d --- /dev/null +++ b/1.3/apidocs/com/tavianator/sangria/test/class-use/SangriaMatchers.html @@ -0,0 +1,117 @@ + + + + + + +Uses of Class com.tavianator.sangria.test.SangriaMatchers (Sangria 1.3 API) + + + + + + + +
+ + + + + +
+ + +
+

Uses of Class
com.tavianator.sangria.test.SangriaMatchers

+
+
No usage of com.tavianator.sangria.test.SangriaMatchers
+ +
+ + + + + +
+ + +

Copyright © 2014–2015. All rights reserved.

+ + diff --git a/1.3/apidocs/com/tavianator/sangria/test/package-frame.html b/1.3/apidocs/com/tavianator/sangria/test/package-frame.html new file mode 100644 index 0000000..5250025 --- /dev/null +++ b/1.3/apidocs/com/tavianator/sangria/test/package-frame.html @@ -0,0 +1,20 @@ + + + + + + +com.tavianator.sangria.test (Sangria 1.3 API) + + + + +

com.tavianator.sangria.test

+
+

Classes

+ +
+ + diff --git a/1.3/apidocs/com/tavianator/sangria/test/package-summary.html b/1.3/apidocs/com/tavianator/sangria/test/package-summary.html new file mode 100644 index 0000000..faada4a --- /dev/null +++ b/1.3/apidocs/com/tavianator/sangria/test/package-summary.html @@ -0,0 +1,152 @@ + + + + + + +com.tavianator.sangria.test (Sangria 1.3 API) + + + + + + + +
+ + + + + +
+ + +
+

Package com.tavianator.sangria.test

+
+
sangria-test: Utilities for testing with Guice.
+
+

See: Description

+
+
+ + + + +

Package com.tavianator.sangria.test Description

+
sangria-test: Utilities for testing with Guice.
+
Since:
+
1.2
+
Version:
+
1.2
+
Author:
+
Tavian Barnes (tavianator@tavianator.com)
+
+ +
+ + + + + +
+ + +

Copyright © 2014–2015. All rights reserved.

+ + diff --git a/1.3/apidocs/com/tavianator/sangria/test/package-tree.html b/1.3/apidocs/com/tavianator/sangria/test/package-tree.html new file mode 100644 index 0000000..cd80da3 --- /dev/null +++ b/1.3/apidocs/com/tavianator/sangria/test/package-tree.html @@ -0,0 +1,130 @@ + + + + + + +com.tavianator.sangria.test Class Hierarchy (Sangria 1.3 API) + + + + + + + +
+ + + + + +
+ + +
+

Hierarchy For Package com.tavianator.sangria.test

+Package Hierarchies: + +
+
+

Class Hierarchy

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

Copyright © 2014–2015. All rights reserved.

+ + diff --git a/1.3/apidocs/com/tavianator/sangria/test/package-use.html b/1.3/apidocs/com/tavianator/sangria/test/package-use.html new file mode 100644 index 0000000..29f5894 --- /dev/null +++ b/1.3/apidocs/com/tavianator/sangria/test/package-use.html @@ -0,0 +1,117 @@ + + + + + + +Uses of Package com.tavianator.sangria.test (Sangria 1.3 API) + + + + + + + +
+ + + + + +
+ + +
+

Uses of Package
com.tavianator.sangria.test

+
+
No usage of com.tavianator.sangria.test
+ +
+ + + + + +
+ + +

Copyright © 2014–2015. All rights reserved.

+ + -- cgit v1.2.3