From 95bb12d092948a0e52f5fb2edd8e3c781efc2392 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Tue, 16 Sep 2014 10:21:08 -0400 Subject: Add version 1.1 site. --- .../AnnotatedContextSensitiveBindingBuilder.html | 263 +++++++++++++ .../sangria/contextual/ContextSensitiveBinder.html | 315 +++++++++++++++ .../contextual/ContextSensitiveBindingBuilder.html | 287 ++++++++++++++ .../contextual/ContextSensitiveBindingVisitor.html | 275 +++++++++++++ .../contextual/ContextSensitiveProvider.html | 278 ++++++++++++++ .../ContextSensitiveProviderInstanceBinding.html | 255 ++++++++++++ .../ContextSensitiveProviderKeyBinding.html | 238 ++++++++++++ .../AnnotatedContextSensitiveBindingBuilder.html | 176 +++++++++ .../class-use/ContextSensitiveBinder.html | 170 ++++++++ .../class-use/ContextSensitiveBindingBuilder.html | 197 ++++++++++ .../class-use/ContextSensitiveBindingVisitor.html | 126 ++++++ .../class-use/ContextSensitiveProvider.html | 223 +++++++++++ .../ContextSensitiveProviderInstanceBinding.html | 170 ++++++++ .../ContextSensitiveProviderKeyBinding.html | 170 ++++++++ .../sangria/contextual/package-frame.html | 30 ++ .../sangria/contextual/package-summary.html | 210 ++++++++++ .../sangria/contextual/package-tree.html | 155 ++++++++ .../tavianator/sangria/contextual/package-use.html | 188 +++++++++ .../com/tavianator/sangria/core/DelayedError.html | 336 ++++++++++++++++ .../sangria/core/PotentialAnnotation.Visitor.html | 291 ++++++++++++++ .../sangria/core/PotentialAnnotation.html | 427 +++++++++++++++++++++ .../com/tavianator/sangria/core/PrettyTypes.html | 263 +++++++++++++ .../com/tavianator/sangria/core/Priority.html | 404 +++++++++++++++++++ .../com/tavianator/sangria/core/TypeLiterals.html | 373 ++++++++++++++++++ .../tavianator/sangria/core/UniqueAnnotations.html | 252 ++++++++++++ .../sangria/core/class-use/DelayedError.html | 186 +++++++++ .../class-use/PotentialAnnotation.Visitor.html | 170 ++++++++ .../core/class-use/PotentialAnnotation.html | 180 +++++++++ .../sangria/core/class-use/PrettyTypes.html | 126 ++++++ .../sangria/core/class-use/Priority.html | 192 +++++++++ .../sangria/core/class-use/TypeLiterals.html | 126 ++++++ .../sangria/core/class-use/UniqueAnnotations.html | 126 ++++++ .../com/tavianator/sangria/core/package-frame.html | 30 ++ .../tavianator/sangria/core/package-summary.html | 210 ++++++++++ .../com/tavianator/sangria/core/package-tree.html | 148 +++++++ .../com/tavianator/sangria/core/package-use.html | 178 +++++++++ 1.1/apidocs/com/tavianator/sangria/lazy/Lazy.html | 280 ++++++++++++++ .../com/tavianator/sangria/lazy/LazyBinder.html | 305 +++++++++++++++ .../com/tavianator/sangria/lazy/LazyBinding.html | 236 ++++++++++++ .../sangria/lazy/LazyBindingVisitor.html | 253 ++++++++++++ .../com/tavianator/sangria/lazy/LazyScopes.html | 291 ++++++++++++++ .../com/tavianator/sangria/lazy/LazySingleton.html | 178 +++++++++ .../tavianator/sangria/lazy/SangriaLazyModule.html | 336 ++++++++++++++++ .../tavianator/sangria/lazy/class-use/Lazy.html | 126 ++++++ .../sangria/lazy/class-use/LazyBinder.html | 170 ++++++++ .../sangria/lazy/class-use/LazyBinding.html | 170 ++++++++ .../sangria/lazy/class-use/LazyBindingVisitor.html | 126 ++++++ .../sangria/lazy/class-use/LazyScopes.html | 126 ++++++ .../sangria/lazy/class-use/LazySingleton.html | 126 ++++++ .../sangria/lazy/class-use/SangriaLazyModule.html | 126 ++++++ .../com/tavianator/sangria/lazy/package-frame.html | 33 ++ .../tavianator/sangria/lazy/package-summary.html | 221 +++++++++++ .../com/tavianator/sangria/lazy/package-tree.html | 159 ++++++++ .../com/tavianator/sangria/lazy/package-use.html | 168 ++++++++ .../listbinder/AnnotatedListBinderBuilder.html | 275 +++++++++++++ .../tavianator/sangria/listbinder/ListBinder.html | 390 +++++++++++++++++++ .../sangria/listbinder/ListBinderBuilder.html | 263 +++++++++++++ .../class-use/AnnotatedListBinderBuilder.html | 178 +++++++++ .../sangria/listbinder/class-use/ListBinder.html | 173 +++++++++ .../listbinder/class-use/ListBinderBuilder.html | 191 +++++++++ .../sangria/listbinder/package-frame.html | 26 ++ .../sangria/listbinder/package-summary.html | 186 +++++++++ .../sangria/listbinder/package-tree.html | 147 +++++++ .../tavianator/sangria/listbinder/package-use.html | 173 +++++++++ .../sangria/log4j/SangriaLog4jModule.html | 302 +++++++++++++++ .../log4j/class-use/SangriaLog4jModule.html | 126 ++++++ .../tavianator/sangria/log4j/package-frame.html | 21 + .../tavianator/sangria/log4j/package-summary.html | 163 ++++++++ .../com/tavianator/sangria/log4j/package-tree.html | 143 +++++++ .../com/tavianator/sangria/log4j/package-use.html | 126 ++++++ .../sangria/slf4j/SangriaSlf4jModule.html | 302 +++++++++++++++ .../slf4j/class-use/SangriaSlf4jModule.html | 126 ++++++ .../tavianator/sangria/slf4j/package-frame.html | 21 + .../tavianator/sangria/slf4j/package-summary.html | 163 ++++++++ .../com/tavianator/sangria/slf4j/package-tree.html | 143 +++++++ .../com/tavianator/sangria/slf4j/package-use.html | 126 ++++++ 76 files changed, 14938 insertions(+) create mode 100644 1.1/apidocs/com/tavianator/sangria/contextual/AnnotatedContextSensitiveBindingBuilder.html create mode 100644 1.1/apidocs/com/tavianator/sangria/contextual/ContextSensitiveBinder.html create mode 100644 1.1/apidocs/com/tavianator/sangria/contextual/ContextSensitiveBindingBuilder.html create mode 100644 1.1/apidocs/com/tavianator/sangria/contextual/ContextSensitiveBindingVisitor.html create mode 100644 1.1/apidocs/com/tavianator/sangria/contextual/ContextSensitiveProvider.html create mode 100644 1.1/apidocs/com/tavianator/sangria/contextual/ContextSensitiveProviderInstanceBinding.html create mode 100644 1.1/apidocs/com/tavianator/sangria/contextual/ContextSensitiveProviderKeyBinding.html create mode 100644 1.1/apidocs/com/tavianator/sangria/contextual/class-use/AnnotatedContextSensitiveBindingBuilder.html create mode 100644 1.1/apidocs/com/tavianator/sangria/contextual/class-use/ContextSensitiveBinder.html create mode 100644 1.1/apidocs/com/tavianator/sangria/contextual/class-use/ContextSensitiveBindingBuilder.html create mode 100644 1.1/apidocs/com/tavianator/sangria/contextual/class-use/ContextSensitiveBindingVisitor.html create mode 100644 1.1/apidocs/com/tavianator/sangria/contextual/class-use/ContextSensitiveProvider.html create mode 100644 1.1/apidocs/com/tavianator/sangria/contextual/class-use/ContextSensitiveProviderInstanceBinding.html create mode 100644 1.1/apidocs/com/tavianator/sangria/contextual/class-use/ContextSensitiveProviderKeyBinding.html create mode 100644 1.1/apidocs/com/tavianator/sangria/contextual/package-frame.html create mode 100644 1.1/apidocs/com/tavianator/sangria/contextual/package-summary.html create mode 100644 1.1/apidocs/com/tavianator/sangria/contextual/package-tree.html create mode 100644 1.1/apidocs/com/tavianator/sangria/contextual/package-use.html create mode 100644 1.1/apidocs/com/tavianator/sangria/core/DelayedError.html create mode 100644 1.1/apidocs/com/tavianator/sangria/core/PotentialAnnotation.Visitor.html create mode 100644 1.1/apidocs/com/tavianator/sangria/core/PotentialAnnotation.html create mode 100644 1.1/apidocs/com/tavianator/sangria/core/PrettyTypes.html create mode 100644 1.1/apidocs/com/tavianator/sangria/core/Priority.html create mode 100644 1.1/apidocs/com/tavianator/sangria/core/TypeLiterals.html create mode 100644 1.1/apidocs/com/tavianator/sangria/core/UniqueAnnotations.html create mode 100644 1.1/apidocs/com/tavianator/sangria/core/class-use/DelayedError.html create mode 100644 1.1/apidocs/com/tavianator/sangria/core/class-use/PotentialAnnotation.Visitor.html create mode 100644 1.1/apidocs/com/tavianator/sangria/core/class-use/PotentialAnnotation.html create mode 100644 1.1/apidocs/com/tavianator/sangria/core/class-use/PrettyTypes.html create mode 100644 1.1/apidocs/com/tavianator/sangria/core/class-use/Priority.html create mode 100644 1.1/apidocs/com/tavianator/sangria/core/class-use/TypeLiterals.html create mode 100644 1.1/apidocs/com/tavianator/sangria/core/class-use/UniqueAnnotations.html create mode 100644 1.1/apidocs/com/tavianator/sangria/core/package-frame.html create mode 100644 1.1/apidocs/com/tavianator/sangria/core/package-summary.html create mode 100644 1.1/apidocs/com/tavianator/sangria/core/package-tree.html create mode 100644 1.1/apidocs/com/tavianator/sangria/core/package-use.html create mode 100644 1.1/apidocs/com/tavianator/sangria/lazy/Lazy.html create mode 100644 1.1/apidocs/com/tavianator/sangria/lazy/LazyBinder.html create mode 100644 1.1/apidocs/com/tavianator/sangria/lazy/LazyBinding.html create mode 100644 1.1/apidocs/com/tavianator/sangria/lazy/LazyBindingVisitor.html create mode 100644 1.1/apidocs/com/tavianator/sangria/lazy/LazyScopes.html create mode 100644 1.1/apidocs/com/tavianator/sangria/lazy/LazySingleton.html create mode 100644 1.1/apidocs/com/tavianator/sangria/lazy/SangriaLazyModule.html create mode 100644 1.1/apidocs/com/tavianator/sangria/lazy/class-use/Lazy.html create mode 100644 1.1/apidocs/com/tavianator/sangria/lazy/class-use/LazyBinder.html create mode 100644 1.1/apidocs/com/tavianator/sangria/lazy/class-use/LazyBinding.html create mode 100644 1.1/apidocs/com/tavianator/sangria/lazy/class-use/LazyBindingVisitor.html create mode 100644 1.1/apidocs/com/tavianator/sangria/lazy/class-use/LazyScopes.html create mode 100644 1.1/apidocs/com/tavianator/sangria/lazy/class-use/LazySingleton.html create mode 100644 1.1/apidocs/com/tavianator/sangria/lazy/class-use/SangriaLazyModule.html create mode 100644 1.1/apidocs/com/tavianator/sangria/lazy/package-frame.html create mode 100644 1.1/apidocs/com/tavianator/sangria/lazy/package-summary.html create mode 100644 1.1/apidocs/com/tavianator/sangria/lazy/package-tree.html create mode 100644 1.1/apidocs/com/tavianator/sangria/lazy/package-use.html create mode 100644 1.1/apidocs/com/tavianator/sangria/listbinder/AnnotatedListBinderBuilder.html create mode 100644 1.1/apidocs/com/tavianator/sangria/listbinder/ListBinder.html create mode 100644 1.1/apidocs/com/tavianator/sangria/listbinder/ListBinderBuilder.html create mode 100644 1.1/apidocs/com/tavianator/sangria/listbinder/class-use/AnnotatedListBinderBuilder.html create mode 100644 1.1/apidocs/com/tavianator/sangria/listbinder/class-use/ListBinder.html create mode 100644 1.1/apidocs/com/tavianator/sangria/listbinder/class-use/ListBinderBuilder.html create mode 100644 1.1/apidocs/com/tavianator/sangria/listbinder/package-frame.html create mode 100644 1.1/apidocs/com/tavianator/sangria/listbinder/package-summary.html create mode 100644 1.1/apidocs/com/tavianator/sangria/listbinder/package-tree.html create mode 100644 1.1/apidocs/com/tavianator/sangria/listbinder/package-use.html create mode 100644 1.1/apidocs/com/tavianator/sangria/log4j/SangriaLog4jModule.html create mode 100644 1.1/apidocs/com/tavianator/sangria/log4j/class-use/SangriaLog4jModule.html create mode 100644 1.1/apidocs/com/tavianator/sangria/log4j/package-frame.html create mode 100644 1.1/apidocs/com/tavianator/sangria/log4j/package-summary.html create mode 100644 1.1/apidocs/com/tavianator/sangria/log4j/package-tree.html create mode 100644 1.1/apidocs/com/tavianator/sangria/log4j/package-use.html create mode 100644 1.1/apidocs/com/tavianator/sangria/slf4j/SangriaSlf4jModule.html create mode 100644 1.1/apidocs/com/tavianator/sangria/slf4j/class-use/SangriaSlf4jModule.html create mode 100644 1.1/apidocs/com/tavianator/sangria/slf4j/package-frame.html create mode 100644 1.1/apidocs/com/tavianator/sangria/slf4j/package-summary.html create mode 100644 1.1/apidocs/com/tavianator/sangria/slf4j/package-tree.html create mode 100644 1.1/apidocs/com/tavianator/sangria/slf4j/package-use.html (limited to '1.1/apidocs/com/tavianator/sangria') diff --git a/1.1/apidocs/com/tavianator/sangria/contextual/AnnotatedContextSensitiveBindingBuilder.html b/1.1/apidocs/com/tavianator/sangria/contextual/AnnotatedContextSensitiveBindingBuilder.html new file mode 100644 index 0000000..a675468 --- /dev/null +++ b/1.1/apidocs/com/tavianator/sangria/contextual/AnnotatedContextSensitiveBindingBuilder.html @@ -0,0 +1,263 @@ + + + + + + +AnnotatedContextSensitiveBindingBuilder (Sangria 1.1 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tavianator.sangria.contextual
+

Interface AnnotatedContextSensitiveBindingBuilder<T>

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

Copyright © 2014. All rights reserved.

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

Class ContextSensitiveBinder

+
+
+ +
+
    +
  • +
    +
    +
    public class ContextSensitiveBinder
    +extends Object
    +
    A binder for ContextSensitiveProviders. + +

    + For example, to bind a custom logger provider, you can write this inside AbstractModule.configure(): +

    + +
    + ContextSensitiveBinder.create(binder())
    +         .bind(CustomLogger.class)
    +         .toContextSensitiveProvider(CustomLoggerProvider.class);
    + 
    +
    +
    Since:
    +
    1.0
    +
    Version:
    +
    1.0
    +
    Author:
    +
    Tavian Barnes (tavianator@tavianator.com)
    +
    +
  • +
+
+
+ +
+
+ +
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2014. All rights reserved.

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

Interface ContextSensitiveBindingBuilder<T>

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

Copyright © 2014. All rights reserved.

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

Interface ContextSensitiveBindingVisitor<T,V>

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

Copyright © 2014. All rights reserved.

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

Interface ContextSensitiveProvider<T>

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

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

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

      Method Detail

      + + + +
        +
      • +

        getInContext

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

        getInUnknownContext

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

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

        +

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

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

Copyright © 2014. All rights reserved.

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

Interface ContextSensitiveProviderInstanceBinding<T>

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

Copyright © 2014. All rights reserved.

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

Interface ContextSensitiveProviderKeyBinding<T>

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

Copyright © 2014. All rights reserved.

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

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

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

Copyright © 2014. All rights reserved.

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

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

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

Copyright © 2014. All rights reserved.

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

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

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

Copyright © 2014. All rights reserved.

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

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

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

Copyright © 2014. All rights reserved.

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

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

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

Copyright © 2014. All rights reserved.

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

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

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

Copyright © 2014. All rights reserved.

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

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

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

Copyright © 2014. All rights reserved.

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

com.tavianator.sangria.contextual

+
+

Interfaces

+ +

Classes

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

Package com.tavianator.sangria.contextual

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

See: Description

+
+
+ + + + +

Package com.tavianator.sangria.contextual Description

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

Copyright © 2014. All rights reserved.

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

Hierarchy For Package com.tavianator.sangria.contextual

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Interface Hierarchy

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

Copyright © 2014. All rights reserved.

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

Uses of Package
com.tavianator.sangria.contextual

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

Copyright © 2014. All rights reserved.

+ + diff --git a/1.1/apidocs/com/tavianator/sangria/core/DelayedError.html b/1.1/apidocs/com/tavianator/sangria/core/DelayedError.html new file mode 100644 index 0000000..3ae1723 --- /dev/null +++ b/1.1/apidocs/com/tavianator/sangria/core/DelayedError.html @@ -0,0 +1,336 @@ + + + + + + +DelayedError (Sangria 1.1 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. All rights reserved.

+ + diff --git a/1.1/apidocs/com/tavianator/sangria/core/PotentialAnnotation.Visitor.html b/1.1/apidocs/com/tavianator/sangria/core/PotentialAnnotation.Visitor.html new file mode 100644 index 0000000..02c0e34 --- /dev/null +++ b/1.1/apidocs/com/tavianator/sangria/core/PotentialAnnotation.Visitor.html @@ -0,0 +1,291 @@ + + + + + + +PotentialAnnotation.Visitor (Sangria 1.1 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. All rights reserved.

+ + diff --git a/1.1/apidocs/com/tavianator/sangria/core/PotentialAnnotation.html b/1.1/apidocs/com/tavianator/sangria/core/PotentialAnnotation.html new file mode 100644 index 0000000..46bc93a --- /dev/null +++ b/1.1/apidocs/com/tavianator/sangria/core/PotentialAnnotation.html @@ -0,0 +1,427 @@ + + + + + + +PotentialAnnotation (Sangria 1.1 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.1
    +
    Author:
    +
    Tavian Barnes (tavianator@tavianator.com)
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + + + + + + + + + + + + + +
        +
      • +

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

Copyright © 2014. All rights reserved.

+ + diff --git a/1.1/apidocs/com/tavianator/sangria/core/PrettyTypes.html b/1.1/apidocs/com/tavianator/sangria/core/PrettyTypes.html new file mode 100644 index 0000000..4e86a87 --- /dev/null +++ b/1.1/apidocs/com/tavianator/sangria/core/PrettyTypes.html @@ -0,0 +1,263 @@ + + + + + + +PrettyTypes (Sangria 1.1 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. All rights reserved.

+ + diff --git a/1.1/apidocs/com/tavianator/sangria/core/Priority.html b/1.1/apidocs/com/tavianator/sangria/core/Priority.html new file mode 100644 index 0000000..5743ba2 --- /dev/null +++ b/1.1/apidocs/com/tavianator/sangria/core/Priority.html @@ -0,0 +1,404 @@ + + + + + + +Priority (Sangria 1.1 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. All rights reserved.

+ + diff --git a/1.1/apidocs/com/tavianator/sangria/core/TypeLiterals.html b/1.1/apidocs/com/tavianator/sangria/core/TypeLiterals.html new file mode 100644 index 0000000..863c075 --- /dev/null +++ b/1.1/apidocs/com/tavianator/sangria/core/TypeLiterals.html @@ -0,0 +1,373 @@ + + + + + + +TypeLiterals (Sangria 1.1 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. All rights reserved.

+ + diff --git a/1.1/apidocs/com/tavianator/sangria/core/UniqueAnnotations.html b/1.1/apidocs/com/tavianator/sangria/core/UniqueAnnotations.html new file mode 100644 index 0000000..ccde841 --- /dev/null +++ b/1.1/apidocs/com/tavianator/sangria/core/UniqueAnnotations.html @@ -0,0 +1,252 @@ + + + + + + +UniqueAnnotations (Sangria 1.1 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. All rights reserved.

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

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

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

Copyright © 2014. All rights reserved.

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

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

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

Copyright © 2014. All rights reserved.

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

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

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

Copyright © 2014. All rights reserved.

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

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

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

Copyright © 2014. All rights reserved.

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

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

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

Copyright © 2014. All rights reserved.

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

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

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

Copyright © 2014. All rights reserved.

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

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

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

Copyright © 2014. All rights reserved.

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

com.tavianator.sangria.core

+
+

Interfaces

+ +

Classes

+ +
+ + diff --git a/1.1/apidocs/com/tavianator/sangria/core/package-summary.html b/1.1/apidocs/com/tavianator/sangria/core/package-summary.html new file mode 100644 index 0000000..8b39cc1 --- /dev/null +++ b/1.1/apidocs/com/tavianator/sangria/core/package-summary.html @@ -0,0 +1,210 @@ + + + + + + +com.tavianator.sangria.core (Sangria 1.1 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. All rights reserved.

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

Hierarchy For Package com.tavianator.sangria.core

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Interface Hierarchy

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

Copyright © 2014. All rights reserved.

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

Uses of Package
com.tavianator.sangria.core

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

Copyright © 2014. All rights reserved.

+ + diff --git a/1.1/apidocs/com/tavianator/sangria/lazy/Lazy.html b/1.1/apidocs/com/tavianator/sangria/lazy/Lazy.html new file mode 100644 index 0000000..c5d9b1d --- /dev/null +++ b/1.1/apidocs/com/tavianator/sangria/lazy/Lazy.html @@ -0,0 +1,280 @@ + + + + + + +Lazy (Sangria 1.2-SNAPSHOT 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. All rights reserved.

+ + diff --git a/1.1/apidocs/com/tavianator/sangria/lazy/LazyBinder.html b/1.1/apidocs/com/tavianator/sangria/lazy/LazyBinder.html new file mode 100644 index 0000000..64dd5e8 --- /dev/null +++ b/1.1/apidocs/com/tavianator/sangria/lazy/LazyBinder.html @@ -0,0 +1,305 @@ + + + + + + +LazyBinder (Sangria 1.2-SNAPSHOT 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. All rights reserved.

+ + diff --git a/1.1/apidocs/com/tavianator/sangria/lazy/LazyBinding.html b/1.1/apidocs/com/tavianator/sangria/lazy/LazyBinding.html new file mode 100644 index 0000000..bc74ac7 --- /dev/null +++ b/1.1/apidocs/com/tavianator/sangria/lazy/LazyBinding.html @@ -0,0 +1,236 @@ + + + + + + +LazyBinding (Sangria 1.2-SNAPSHOT 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 Detail

      + + + +
        +
      • +

        getTargetKey

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

Copyright © 2014. All rights reserved.

+ + diff --git a/1.1/apidocs/com/tavianator/sangria/lazy/LazyBindingVisitor.html b/1.1/apidocs/com/tavianator/sangria/lazy/LazyBindingVisitor.html new file mode 100644 index 0000000..f1f3251 --- /dev/null +++ b/1.1/apidocs/com/tavianator/sangria/lazy/LazyBindingVisitor.html @@ -0,0 +1,253 @@ + + + + + + +LazyBindingVisitor (Sangria 1.2-SNAPSHOT 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. All rights reserved.

+ + diff --git a/1.1/apidocs/com/tavianator/sangria/lazy/LazyScopes.html b/1.1/apidocs/com/tavianator/sangria/lazy/LazyScopes.html new file mode 100644 index 0000000..a07a6cd --- /dev/null +++ b/1.1/apidocs/com/tavianator/sangria/lazy/LazyScopes.html @@ -0,0 +1,291 @@ + + + + + + +LazyScopes (Sangria 1.2-SNAPSHOT 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)
    +
    +
  • +
+
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        LazyScopes

        +
        public LazyScopes()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2014. All rights reserved.

+ + diff --git a/1.1/apidocs/com/tavianator/sangria/lazy/LazySingleton.html b/1.1/apidocs/com/tavianator/sangria/lazy/LazySingleton.html new file mode 100644 index 0000000..bdbea1e --- /dev/null +++ b/1.1/apidocs/com/tavianator/sangria/lazy/LazySingleton.html @@ -0,0 +1,178 @@ + + + + + + +LazySingleton (Sangria 1.2-SNAPSHOT API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tavianator.sangria.lazy
+

Annotation Type LazySingleton

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

Copyright © 2014. All rights reserved.

+ + diff --git a/1.1/apidocs/com/tavianator/sangria/lazy/SangriaLazyModule.html b/1.1/apidocs/com/tavianator/sangria/lazy/SangriaLazyModule.html new file mode 100644 index 0000000..cafc847 --- /dev/null +++ b/1.1/apidocs/com/tavianator/sangria/lazy/SangriaLazyModule.html @@ -0,0 +1,336 @@ + + + + + + +SangriaLazyModule (Sangria 1.2-SNAPSHOT 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. All rights reserved.

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

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

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

Copyright © 2014. All rights reserved.

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

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

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

Copyright © 2014. All rights reserved.

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

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

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

Copyright © 2014. All rights reserved.

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

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

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

Copyright © 2014. All rights reserved.

+ + diff --git a/1.1/apidocs/com/tavianator/sangria/lazy/class-use/LazyScopes.html b/1.1/apidocs/com/tavianator/sangria/lazy/class-use/LazyScopes.html new file mode 100644 index 0000000..025aaaf --- /dev/null +++ b/1.1/apidocs/com/tavianator/sangria/lazy/class-use/LazyScopes.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.tavianator.sangria.lazy.LazyScopes (Sangria 1.2-SNAPSHOT API) + + + + + + + + +
+ + + + + + + +
+ + +
+

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

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

Copyright © 2014. All rights reserved.

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

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

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

Copyright © 2014. All rights reserved.

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

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

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

Copyright © 2014. All rights reserved.

+ + diff --git a/1.1/apidocs/com/tavianator/sangria/lazy/package-frame.html b/1.1/apidocs/com/tavianator/sangria/lazy/package-frame.html new file mode 100644 index 0000000..5e1c74a --- /dev/null +++ b/1.1/apidocs/com/tavianator/sangria/lazy/package-frame.html @@ -0,0 +1,33 @@ + + + + + + +com.tavianator.sangria.lazy (Sangria 1.2-SNAPSHOT API) + + + + + +

com.tavianator.sangria.lazy

+
+

Interfaces

+ +

Classes

+ +

Annotation Types

+ +
+ + diff --git a/1.1/apidocs/com/tavianator/sangria/lazy/package-summary.html b/1.1/apidocs/com/tavianator/sangria/lazy/package-summary.html new file mode 100644 index 0000000..21d0e99 --- /dev/null +++ b/1.1/apidocs/com/tavianator/sangria/lazy/package-summary.html @@ -0,0 +1,221 @@ + + + + + + +com.tavianator.sangria.lazy (Sangria 1.2-SNAPSHOT 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. All rights reserved.

+ + diff --git a/1.1/apidocs/com/tavianator/sangria/lazy/package-tree.html b/1.1/apidocs/com/tavianator/sangria/lazy/package-tree.html new file mode 100644 index 0000000..31cc113 --- /dev/null +++ b/1.1/apidocs/com/tavianator/sangria/lazy/package-tree.html @@ -0,0 +1,159 @@ + + + + + + +com.tavianator.sangria.lazy Class Hierarchy (Sangria 1.2-SNAPSHOT API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package com.tavianator.sangria.lazy

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Interface Hierarchy

+ +

Annotation Type Hierarchy

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

Copyright © 2014. All rights reserved.

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

Uses of Package
com.tavianator.sangria.lazy

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

Copyright © 2014. All rights reserved.

+ + diff --git a/1.1/apidocs/com/tavianator/sangria/listbinder/AnnotatedListBinderBuilder.html b/1.1/apidocs/com/tavianator/sangria/listbinder/AnnotatedListBinderBuilder.html new file mode 100644 index 0000000..0d615b6 --- /dev/null +++ b/1.1/apidocs/com/tavianator/sangria/listbinder/AnnotatedListBinderBuilder.html @@ -0,0 +1,275 @@ + + + + + + +AnnotatedListBinderBuilder (Sangria 1.1 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. All rights reserved.

+ + diff --git a/1.1/apidocs/com/tavianator/sangria/listbinder/ListBinder.html b/1.1/apidocs/com/tavianator/sangria/listbinder/ListBinder.html new file mode 100644 index 0000000..69025f6 --- /dev/null +++ b/1.1/apidocs/com/tavianator/sangria/listbinder/ListBinder.html @@ -0,0 +1,390 @@ + + + + + + +ListBinder (Sangria 1.1 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&lt;String&gt;, which contains "a" followed by "b". It + also creates a binding for List&lt;Provider&lt;String&gt;&gt; — 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&lt;String&gt; 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. All rights reserved.

+ + diff --git a/1.1/apidocs/com/tavianator/sangria/listbinder/ListBinderBuilder.html b/1.1/apidocs/com/tavianator/sangria/listbinder/ListBinderBuilder.html new file mode 100644 index 0000000..f0ad070 --- /dev/null +++ b/1.1/apidocs/com/tavianator/sangria/listbinder/ListBinderBuilder.html @@ -0,0 +1,263 @@ + + + + + + +ListBinderBuilder (Sangria 1.1 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. All rights reserved.

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

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

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

Copyright © 2014. All rights reserved.

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

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

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

Copyright © 2014. All rights reserved.

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

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

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

Copyright © 2014. All rights reserved.

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

com.tavianator.sangria.listbinder

+
+

Interfaces

+ +

Classes

+ +
+ + diff --git a/1.1/apidocs/com/tavianator/sangria/listbinder/package-summary.html b/1.1/apidocs/com/tavianator/sangria/listbinder/package-summary.html new file mode 100644 index 0000000..9cc3498 --- /dev/null +++ b/1.1/apidocs/com/tavianator/sangria/listbinder/package-summary.html @@ -0,0 +1,186 @@ + + + + + + +com.tavianator.sangria.listbinder (Sangria 1.1 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. All rights reserved.

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

Hierarchy For Package com.tavianator.sangria.listbinder

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Interface Hierarchy

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

Copyright © 2014. All rights reserved.

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

Uses of Package
com.tavianator.sangria.listbinder

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

Copyright © 2014. All rights reserved.

+ + diff --git a/1.1/apidocs/com/tavianator/sangria/log4j/SangriaLog4jModule.html b/1.1/apidocs/com/tavianator/sangria/log4j/SangriaLog4jModule.html new file mode 100644 index 0000000..34e9496 --- /dev/null +++ b/1.1/apidocs/com/tavianator/sangria/log4j/SangriaLog4jModule.html @@ -0,0 +1,302 @@ + + + + + + +SangriaLog4jModule (Sangria 1.1 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. All rights reserved.

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

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

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

Copyright © 2014. All rights reserved.

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

com.tavianator.sangria.log4j

+
+

Classes

+ +
+ + diff --git a/1.1/apidocs/com/tavianator/sangria/log4j/package-summary.html b/1.1/apidocs/com/tavianator/sangria/log4j/package-summary.html new file mode 100644 index 0000000..1f23109 --- /dev/null +++ b/1.1/apidocs/com/tavianator/sangria/log4j/package-summary.html @@ -0,0 +1,163 @@ + + + + + + +com.tavianator.sangria.log4j (Sangria 1.1 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. All rights reserved.

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

Hierarchy For Package com.tavianator.sangria.log4j

+Package Hierarchies: + +
+
+

Class Hierarchy

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

Copyright © 2014. All rights reserved.

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

Uses of Package
com.tavianator.sangria.log4j

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

Copyright © 2014. All rights reserved.

+ + diff --git a/1.1/apidocs/com/tavianator/sangria/slf4j/SangriaSlf4jModule.html b/1.1/apidocs/com/tavianator/sangria/slf4j/SangriaSlf4jModule.html new file mode 100644 index 0000000..33b4a63 --- /dev/null +++ b/1.1/apidocs/com/tavianator/sangria/slf4j/SangriaSlf4jModule.html @@ -0,0 +1,302 @@ + + + + + + +SangriaSlf4jModule (Sangria 1.1 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. All rights reserved.

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

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

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

Copyright © 2014. All rights reserved.

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

com.tavianator.sangria.slf4j

+
+

Classes

+ +
+ + diff --git a/1.1/apidocs/com/tavianator/sangria/slf4j/package-summary.html b/1.1/apidocs/com/tavianator/sangria/slf4j/package-summary.html new file mode 100644 index 0000000..95e4ba6 --- /dev/null +++ b/1.1/apidocs/com/tavianator/sangria/slf4j/package-summary.html @@ -0,0 +1,163 @@ + + + + + + +com.tavianator.sangria.slf4j (Sangria 1.1 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. All rights reserved.

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

Hierarchy For Package com.tavianator.sangria.slf4j

+Package Hierarchies: + +
+
+

Class Hierarchy

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

Copyright © 2014. All rights reserved.

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

Uses of Package
com.tavianator.sangria.slf4j

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

Copyright © 2014. All rights reserved.

+ + -- cgit v1.2.3