From e7f80b6f125672e2c1a827168ad69ddf1cf66422 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Mon, 15 Sep 2014 21:26:16 -0400 Subject: Add latest maven 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 | 485 +++++++++++++++++++++ .../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 | 186 ++++++++ .../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 ++++++++ .../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, 15002 insertions(+) create mode 100644 latest/apidocs/com/tavianator/sangria/contextual/AnnotatedContextSensitiveBindingBuilder.html create mode 100644 latest/apidocs/com/tavianator/sangria/contextual/ContextSensitiveBinder.html create mode 100644 latest/apidocs/com/tavianator/sangria/contextual/ContextSensitiveBindingBuilder.html create mode 100644 latest/apidocs/com/tavianator/sangria/contextual/ContextSensitiveBindingVisitor.html create mode 100644 latest/apidocs/com/tavianator/sangria/contextual/ContextSensitiveProvider.html create mode 100644 latest/apidocs/com/tavianator/sangria/contextual/ContextSensitiveProviderInstanceBinding.html create mode 100644 latest/apidocs/com/tavianator/sangria/contextual/ContextSensitiveProviderKeyBinding.html create mode 100644 latest/apidocs/com/tavianator/sangria/contextual/class-use/AnnotatedContextSensitiveBindingBuilder.html create mode 100644 latest/apidocs/com/tavianator/sangria/contextual/class-use/ContextSensitiveBinder.html create mode 100644 latest/apidocs/com/tavianator/sangria/contextual/class-use/ContextSensitiveBindingBuilder.html create mode 100644 latest/apidocs/com/tavianator/sangria/contextual/class-use/ContextSensitiveBindingVisitor.html create mode 100644 latest/apidocs/com/tavianator/sangria/contextual/class-use/ContextSensitiveProvider.html create mode 100644 latest/apidocs/com/tavianator/sangria/contextual/class-use/ContextSensitiveProviderInstanceBinding.html create mode 100644 latest/apidocs/com/tavianator/sangria/contextual/class-use/ContextSensitiveProviderKeyBinding.html create mode 100644 latest/apidocs/com/tavianator/sangria/contextual/package-frame.html create mode 100644 latest/apidocs/com/tavianator/sangria/contextual/package-summary.html create mode 100644 latest/apidocs/com/tavianator/sangria/contextual/package-tree.html create mode 100644 latest/apidocs/com/tavianator/sangria/contextual/package-use.html create mode 100644 latest/apidocs/com/tavianator/sangria/core/DelayedError.html create mode 100644 latest/apidocs/com/tavianator/sangria/core/PotentialAnnotation.Visitor.html create mode 100644 latest/apidocs/com/tavianator/sangria/core/PotentialAnnotation.html create mode 100644 latest/apidocs/com/tavianator/sangria/core/PrettyTypes.html create mode 100644 latest/apidocs/com/tavianator/sangria/core/Priority.html create mode 100644 latest/apidocs/com/tavianator/sangria/core/TypeLiterals.html create mode 100644 latest/apidocs/com/tavianator/sangria/core/UniqueAnnotations.html create mode 100644 latest/apidocs/com/tavianator/sangria/core/class-use/DelayedError.html create mode 100644 latest/apidocs/com/tavianator/sangria/core/class-use/PotentialAnnotation.Visitor.html create mode 100644 latest/apidocs/com/tavianator/sangria/core/class-use/PotentialAnnotation.html create mode 100644 latest/apidocs/com/tavianator/sangria/core/class-use/PrettyTypes.html create mode 100644 latest/apidocs/com/tavianator/sangria/core/class-use/Priority.html create mode 100644 latest/apidocs/com/tavianator/sangria/core/class-use/TypeLiterals.html create mode 100644 latest/apidocs/com/tavianator/sangria/core/class-use/UniqueAnnotations.html create mode 100644 latest/apidocs/com/tavianator/sangria/core/package-frame.html create mode 100644 latest/apidocs/com/tavianator/sangria/core/package-summary.html create mode 100644 latest/apidocs/com/tavianator/sangria/core/package-tree.html create mode 100644 latest/apidocs/com/tavianator/sangria/core/package-use.html create mode 100644 latest/apidocs/com/tavianator/sangria/lazy/Lazy.html create mode 100644 latest/apidocs/com/tavianator/sangria/lazy/LazyBinder.html create mode 100644 latest/apidocs/com/tavianator/sangria/lazy/LazyBinding.html create mode 100644 latest/apidocs/com/tavianator/sangria/lazy/LazyBindingVisitor.html create mode 100644 latest/apidocs/com/tavianator/sangria/lazy/LazyScopes.html create mode 100644 latest/apidocs/com/tavianator/sangria/lazy/LazySingleton.html create mode 100644 latest/apidocs/com/tavianator/sangria/lazy/SangriaLazyModule.html create mode 100644 latest/apidocs/com/tavianator/sangria/lazy/class-use/Lazy.html create mode 100644 latest/apidocs/com/tavianator/sangria/lazy/class-use/LazyBinder.html create mode 100644 latest/apidocs/com/tavianator/sangria/lazy/class-use/LazyBinding.html create mode 100644 latest/apidocs/com/tavianator/sangria/lazy/class-use/LazyBindingVisitor.html create mode 100644 latest/apidocs/com/tavianator/sangria/lazy/class-use/LazyScopes.html create mode 100644 latest/apidocs/com/tavianator/sangria/lazy/class-use/LazySingleton.html create mode 100644 latest/apidocs/com/tavianator/sangria/lazy/class-use/SangriaLazyModule.html create mode 100644 latest/apidocs/com/tavianator/sangria/lazy/package-frame.html create mode 100644 latest/apidocs/com/tavianator/sangria/lazy/package-summary.html create mode 100644 latest/apidocs/com/tavianator/sangria/lazy/package-tree.html create mode 100644 latest/apidocs/com/tavianator/sangria/lazy/package-use.html create mode 100644 latest/apidocs/com/tavianator/sangria/listbinder/AnnotatedListBinderBuilder.html create mode 100644 latest/apidocs/com/tavianator/sangria/listbinder/ListBinder.html create mode 100644 latest/apidocs/com/tavianator/sangria/listbinder/ListBinderBuilder.html create mode 100644 latest/apidocs/com/tavianator/sangria/listbinder/class-use/AnnotatedListBinderBuilder.html create mode 100644 latest/apidocs/com/tavianator/sangria/listbinder/class-use/ListBinder.html create mode 100644 latest/apidocs/com/tavianator/sangria/listbinder/class-use/ListBinderBuilder.html create mode 100644 latest/apidocs/com/tavianator/sangria/listbinder/package-frame.html create mode 100644 latest/apidocs/com/tavianator/sangria/listbinder/package-summary.html create mode 100644 latest/apidocs/com/tavianator/sangria/listbinder/package-tree.html create mode 100644 latest/apidocs/com/tavianator/sangria/listbinder/package-use.html create mode 100644 latest/apidocs/com/tavianator/sangria/log4j/SangriaLog4jModule.html create mode 100644 latest/apidocs/com/tavianator/sangria/log4j/class-use/SangriaLog4jModule.html create mode 100644 latest/apidocs/com/tavianator/sangria/log4j/package-frame.html create mode 100644 latest/apidocs/com/tavianator/sangria/log4j/package-summary.html create mode 100644 latest/apidocs/com/tavianator/sangria/log4j/package-tree.html create mode 100644 latest/apidocs/com/tavianator/sangria/log4j/package-use.html create mode 100644 latest/apidocs/com/tavianator/sangria/slf4j/SangriaSlf4jModule.html create mode 100644 latest/apidocs/com/tavianator/sangria/slf4j/class-use/SangriaSlf4jModule.html create mode 100644 latest/apidocs/com/tavianator/sangria/slf4j/package-frame.html create mode 100644 latest/apidocs/com/tavianator/sangria/slf4j/package-summary.html create mode 100644 latest/apidocs/com/tavianator/sangria/slf4j/package-tree.html create mode 100644 latest/apidocs/com/tavianator/sangria/slf4j/package-use.html (limited to 'latest/apidocs/com/tavianator/sangria') diff --git a/latest/apidocs/com/tavianator/sangria/contextual/AnnotatedContextSensitiveBindingBuilder.html b/latest/apidocs/com/tavianator/sangria/contextual/AnnotatedContextSensitiveBindingBuilder.html new file mode 100644 index 0000000..f717bee --- /dev/null +++ b/latest/apidocs/com/tavianator/sangria/contextual/AnnotatedContextSensitiveBindingBuilder.html @@ -0,0 +1,263 @@ + + + + + + +AnnotatedContextSensitiveBindingBuilder (Sangria 1.2-SNAPSHOT API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tavianator.sangria.contextual
+

Interface AnnotatedContextSensitiveBindingBuilder<T>

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

Copyright © 2014. All rights reserved.

+ + diff --git a/latest/apidocs/com/tavianator/sangria/contextual/ContextSensitiveBinder.html b/latest/apidocs/com/tavianator/sangria/contextual/ContextSensitiveBinder.html new file mode 100644 index 0000000..abad5d8 --- /dev/null +++ b/latest/apidocs/com/tavianator/sangria/contextual/ContextSensitiveBinder.html @@ -0,0 +1,315 @@ + + + + + + +ContextSensitiveBinder (Sangria 1.2-SNAPSHOT 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/latest/apidocs/com/tavianator/sangria/contextual/ContextSensitiveBindingBuilder.html b/latest/apidocs/com/tavianator/sangria/contextual/ContextSensitiveBindingBuilder.html new file mode 100644 index 0000000..30012db --- /dev/null +++ b/latest/apidocs/com/tavianator/sangria/contextual/ContextSensitiveBindingBuilder.html @@ -0,0 +1,287 @@ + + + + + + +ContextSensitiveBindingBuilder (Sangria 1.2-SNAPSHOT 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/latest/apidocs/com/tavianator/sangria/contextual/ContextSensitiveBindingVisitor.html b/latest/apidocs/com/tavianator/sangria/contextual/ContextSensitiveBindingVisitor.html new file mode 100644 index 0000000..403d127 --- /dev/null +++ b/latest/apidocs/com/tavianator/sangria/contextual/ContextSensitiveBindingVisitor.html @@ -0,0 +1,275 @@ + + + + + + +ContextSensitiveBindingVisitor (Sangria 1.2-SNAPSHOT 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/latest/apidocs/com/tavianator/sangria/contextual/ContextSensitiveProvider.html b/latest/apidocs/com/tavianator/sangria/contextual/ContextSensitiveProvider.html new file mode 100644 index 0000000..454604d --- /dev/null +++ b/latest/apidocs/com/tavianator/sangria/contextual/ContextSensitiveProvider.html @@ -0,0 +1,278 @@ + + + + + + +ContextSensitiveProvider (Sangria 1.2-SNAPSHOT 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/latest/apidocs/com/tavianator/sangria/contextual/ContextSensitiveProviderInstanceBinding.html b/latest/apidocs/com/tavianator/sangria/contextual/ContextSensitiveProviderInstanceBinding.html new file mode 100644 index 0000000..18918f8 --- /dev/null +++ b/latest/apidocs/com/tavianator/sangria/contextual/ContextSensitiveProviderInstanceBinding.html @@ -0,0 +1,255 @@ + + + + + + +ContextSensitiveProviderInstanceBinding (Sangria 1.2-SNAPSHOT API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tavianator.sangria.contextual
+

Interface ContextSensitiveProviderInstanceBinding<T>

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

Copyright © 2014. All rights reserved.

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

Interface ContextSensitiveProviderKeyBinding<T>

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

Copyright © 2014. All rights reserved.

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

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

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

Copyright © 2014. All rights reserved.

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

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

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

Copyright © 2014. All rights reserved.

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

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

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

Copyright © 2014. All rights reserved.

+ + diff --git a/latest/apidocs/com/tavianator/sangria/contextual/class-use/ContextSensitiveBindingVisitor.html b/latest/apidocs/com/tavianator/sangria/contextual/class-use/ContextSensitiveBindingVisitor.html new file mode 100644 index 0000000..9ac7bc3 --- /dev/null +++ b/latest/apidocs/com/tavianator/sangria/contextual/class-use/ContextSensitiveBindingVisitor.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Interface com.tavianator.sangria.contextual.ContextSensitiveBindingVisitor (Sangria 1.2-SNAPSHOT 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/latest/apidocs/com/tavianator/sangria/contextual/class-use/ContextSensitiveProvider.html b/latest/apidocs/com/tavianator/sangria/contextual/class-use/ContextSensitiveProvider.html new file mode 100644 index 0000000..99245f9 --- /dev/null +++ b/latest/apidocs/com/tavianator/sangria/contextual/class-use/ContextSensitiveProvider.html @@ -0,0 +1,223 @@ + + + + + + +Uses of Interface com.tavianator.sangria.contextual.ContextSensitiveProvider (Sangria 1.2-SNAPSHOT API) + + + + + + + + +
+ + + + + + + +
+ + +
+

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

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

Copyright © 2014. All rights reserved.

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

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

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

Copyright © 2014. All rights reserved.

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

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

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

Copyright © 2014. All rights reserved.

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

com.tavianator.sangria.contextual

+
+

Interfaces

+ +

Classes

+ +
+ + diff --git a/latest/apidocs/com/tavianator/sangria/contextual/package-summary.html b/latest/apidocs/com/tavianator/sangria/contextual/package-summary.html new file mode 100644 index 0000000..3a4e80d --- /dev/null +++ b/latest/apidocs/com/tavianator/sangria/contextual/package-summary.html @@ -0,0 +1,210 @@ + + + + + + +com.tavianator.sangria.contextual (Sangria 1.2-SNAPSHOT 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/latest/apidocs/com/tavianator/sangria/contextual/package-tree.html b/latest/apidocs/com/tavianator/sangria/contextual/package-tree.html new file mode 100644 index 0000000..3ac413f --- /dev/null +++ b/latest/apidocs/com/tavianator/sangria/contextual/package-tree.html @@ -0,0 +1,155 @@ + + + + + + +com.tavianator.sangria.contextual Class Hierarchy (Sangria 1.2-SNAPSHOT API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package com.tavianator.sangria.contextual

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Interface Hierarchy

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

Copyright © 2014. All rights reserved.

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

Uses of Package
com.tavianator.sangria.contextual

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

Copyright © 2014. All rights reserved.

+ + diff --git a/latest/apidocs/com/tavianator/sangria/core/DelayedError.html b/latest/apidocs/com/tavianator/sangria/core/DelayedError.html new file mode 100644 index 0000000..bdc32d3 --- /dev/null +++ b/latest/apidocs/com/tavianator/sangria/core/DelayedError.html @@ -0,0 +1,336 @@ + + + + + + +DelayedError (Sangria 1.2-SNAPSHOT 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/latest/apidocs/com/tavianator/sangria/core/PotentialAnnotation.Visitor.html b/latest/apidocs/com/tavianator/sangria/core/PotentialAnnotation.Visitor.html new file mode 100644 index 0000000..75e00ee --- /dev/null +++ b/latest/apidocs/com/tavianator/sangria/core/PotentialAnnotation.Visitor.html @@ -0,0 +1,291 @@ + + + + + + +PotentialAnnotation.Visitor (Sangria 1.2-SNAPSHOT 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/latest/apidocs/com/tavianator/sangria/core/PotentialAnnotation.html b/latest/apidocs/com/tavianator/sangria/core/PotentialAnnotation.html new file mode 100644 index 0000000..5bac462 --- /dev/null +++ b/latest/apidocs/com/tavianator/sangria/core/PotentialAnnotation.html @@ -0,0 +1,485 @@ + + + + + + +PotentialAnnotation (Sangria 1.2-SNAPSHOT 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. All rights reserved.

+ + diff --git a/latest/apidocs/com/tavianator/sangria/core/PrettyTypes.html b/latest/apidocs/com/tavianator/sangria/core/PrettyTypes.html new file mode 100644 index 0000000..9fdc204 --- /dev/null +++ b/latest/apidocs/com/tavianator/sangria/core/PrettyTypes.html @@ -0,0 +1,263 @@ + + + + + + +PrettyTypes (Sangria 1.2-SNAPSHOT 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/latest/apidocs/com/tavianator/sangria/core/Priority.html b/latest/apidocs/com/tavianator/sangria/core/Priority.html new file mode 100644 index 0000000..ce5a8c4 --- /dev/null +++ b/latest/apidocs/com/tavianator/sangria/core/Priority.html @@ -0,0 +1,404 @@ + + + + + + +Priority (Sangria 1.2-SNAPSHOT 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/latest/apidocs/com/tavianator/sangria/core/TypeLiterals.html b/latest/apidocs/com/tavianator/sangria/core/TypeLiterals.html new file mode 100644 index 0000000..3c5ccfc --- /dev/null +++ b/latest/apidocs/com/tavianator/sangria/core/TypeLiterals.html @@ -0,0 +1,373 @@ + + + + + + +TypeLiterals (Sangria 1.2-SNAPSHOT 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/latest/apidocs/com/tavianator/sangria/core/UniqueAnnotations.html b/latest/apidocs/com/tavianator/sangria/core/UniqueAnnotations.html new file mode 100644 index 0000000..536563e --- /dev/null +++ b/latest/apidocs/com/tavianator/sangria/core/UniqueAnnotations.html @@ -0,0 +1,252 @@ + + + + + + +UniqueAnnotations (Sangria 1.2-SNAPSHOT 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/latest/apidocs/com/tavianator/sangria/core/class-use/DelayedError.html b/latest/apidocs/com/tavianator/sangria/core/class-use/DelayedError.html new file mode 100644 index 0000000..db14aba --- /dev/null +++ b/latest/apidocs/com/tavianator/sangria/core/class-use/DelayedError.html @@ -0,0 +1,186 @@ + + + + + + +Uses of Class com.tavianator.sangria.core.DelayedError (Sangria 1.2-SNAPSHOT API) + + + + + + + + +
+ + + + + + + +
+ + +
+

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

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

Copyright © 2014. All rights reserved.

+ + diff --git a/latest/apidocs/com/tavianator/sangria/core/class-use/PotentialAnnotation.Visitor.html b/latest/apidocs/com/tavianator/sangria/core/class-use/PotentialAnnotation.Visitor.html new file mode 100644 index 0000000..0fb0b45 --- /dev/null +++ b/latest/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.2-SNAPSHOT API) + + + + + + + + +
+ + + + + + + +
+ + +
+

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

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

Copyright © 2014. All rights reserved.

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

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

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

Copyright © 2014. All rights reserved.

+ + diff --git a/latest/apidocs/com/tavianator/sangria/core/class-use/PrettyTypes.html b/latest/apidocs/com/tavianator/sangria/core/class-use/PrettyTypes.html new file mode 100644 index 0000000..470975a --- /dev/null +++ b/latest/apidocs/com/tavianator/sangria/core/class-use/PrettyTypes.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.tavianator.sangria.core.PrettyTypes (Sangria 1.2-SNAPSHOT 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/latest/apidocs/com/tavianator/sangria/core/class-use/Priority.html b/latest/apidocs/com/tavianator/sangria/core/class-use/Priority.html new file mode 100644 index 0000000..7daf8fa --- /dev/null +++ b/latest/apidocs/com/tavianator/sangria/core/class-use/Priority.html @@ -0,0 +1,192 @@ + + + + + + +Uses of Class com.tavianator.sangria.core.Priority (Sangria 1.2-SNAPSHOT API) + + + + + + + + +
+ + + + + + + +
+ + +
+

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

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

Copyright © 2014. All rights reserved.

+ + diff --git a/latest/apidocs/com/tavianator/sangria/core/class-use/TypeLiterals.html b/latest/apidocs/com/tavianator/sangria/core/class-use/TypeLiterals.html new file mode 100644 index 0000000..3b4c3f3 --- /dev/null +++ b/latest/apidocs/com/tavianator/sangria/core/class-use/TypeLiterals.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.tavianator.sangria.core.TypeLiterals (Sangria 1.2-SNAPSHOT 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/latest/apidocs/com/tavianator/sangria/core/class-use/UniqueAnnotations.html b/latest/apidocs/com/tavianator/sangria/core/class-use/UniqueAnnotations.html new file mode 100644 index 0000000..4b6ff7b --- /dev/null +++ b/latest/apidocs/com/tavianator/sangria/core/class-use/UniqueAnnotations.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.tavianator.sangria.core.UniqueAnnotations (Sangria 1.2-SNAPSHOT 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/latest/apidocs/com/tavianator/sangria/core/package-frame.html b/latest/apidocs/com/tavianator/sangria/core/package-frame.html new file mode 100644 index 0000000..762f25b --- /dev/null +++ b/latest/apidocs/com/tavianator/sangria/core/package-frame.html @@ -0,0 +1,30 @@ + + + + + + +com.tavianator.sangria.core (Sangria 1.2-SNAPSHOT API) + + + + + +

com.tavianator.sangria.core

+
+

Interfaces

+ +

Classes

+ +
+ + diff --git a/latest/apidocs/com/tavianator/sangria/core/package-summary.html b/latest/apidocs/com/tavianator/sangria/core/package-summary.html new file mode 100644 index 0000000..905464e --- /dev/null +++ b/latest/apidocs/com/tavianator/sangria/core/package-summary.html @@ -0,0 +1,210 @@ + + + + + + +com.tavianator.sangria.core (Sangria 1.2-SNAPSHOT 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/latest/apidocs/com/tavianator/sangria/core/package-tree.html b/latest/apidocs/com/tavianator/sangria/core/package-tree.html new file mode 100644 index 0000000..cd570f1 --- /dev/null +++ b/latest/apidocs/com/tavianator/sangria/core/package-tree.html @@ -0,0 +1,148 @@ + + + + + + +com.tavianator.sangria.core Class Hierarchy (Sangria 1.2-SNAPSHOT API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package com.tavianator.sangria.core

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Interface Hierarchy

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

Copyright © 2014. All rights reserved.

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

Uses of Package
com.tavianator.sangria.core

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

Copyright © 2014. All rights reserved.

+ + diff --git a/latest/apidocs/com/tavianator/sangria/lazy/Lazy.html b/latest/apidocs/com/tavianator/sangria/lazy/Lazy.html new file mode 100644 index 0000000..a38d874 --- /dev/null +++ b/latest/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/latest/apidocs/com/tavianator/sangria/lazy/LazyBinder.html b/latest/apidocs/com/tavianator/sangria/lazy/LazyBinder.html new file mode 100644 index 0000000..ba17167 --- /dev/null +++ b/latest/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/latest/apidocs/com/tavianator/sangria/lazy/LazyBinding.html b/latest/apidocs/com/tavianator/sangria/lazy/LazyBinding.html new file mode 100644 index 0000000..dee55db --- /dev/null +++ b/latest/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/latest/apidocs/com/tavianator/sangria/lazy/LazyBindingVisitor.html b/latest/apidocs/com/tavianator/sangria/lazy/LazyBindingVisitor.html new file mode 100644 index 0000000..67b9448 --- /dev/null +++ b/latest/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/latest/apidocs/com/tavianator/sangria/lazy/LazyScopes.html b/latest/apidocs/com/tavianator/sangria/lazy/LazyScopes.html new file mode 100644 index 0000000..04f4eea --- /dev/null +++ b/latest/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/latest/apidocs/com/tavianator/sangria/lazy/LazySingleton.html b/latest/apidocs/com/tavianator/sangria/lazy/LazySingleton.html new file mode 100644 index 0000000..7cb11b4 --- /dev/null +++ b/latest/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/latest/apidocs/com/tavianator/sangria/lazy/SangriaLazyModule.html b/latest/apidocs/com/tavianator/sangria/lazy/SangriaLazyModule.html new file mode 100644 index 0000000..46d2601 --- /dev/null +++ b/latest/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/latest/apidocs/com/tavianator/sangria/lazy/class-use/Lazy.html b/latest/apidocs/com/tavianator/sangria/lazy/class-use/Lazy.html new file mode 100644 index 0000000..d0c5433 --- /dev/null +++ b/latest/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/latest/apidocs/com/tavianator/sangria/lazy/class-use/LazyBinder.html b/latest/apidocs/com/tavianator/sangria/lazy/class-use/LazyBinder.html new file mode 100644 index 0000000..08915e8 --- /dev/null +++ b/latest/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/latest/apidocs/com/tavianator/sangria/lazy/class-use/LazyBinding.html b/latest/apidocs/com/tavianator/sangria/lazy/class-use/LazyBinding.html new file mode 100644 index 0000000..cebfcc6 --- /dev/null +++ b/latest/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/latest/apidocs/com/tavianator/sangria/lazy/class-use/LazyBindingVisitor.html b/latest/apidocs/com/tavianator/sangria/lazy/class-use/LazyBindingVisitor.html new file mode 100644 index 0000000..bd8cfb6 --- /dev/null +++ b/latest/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/latest/apidocs/com/tavianator/sangria/lazy/class-use/LazyScopes.html b/latest/apidocs/com/tavianator/sangria/lazy/class-use/LazyScopes.html new file mode 100644 index 0000000..15d7474 --- /dev/null +++ b/latest/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/latest/apidocs/com/tavianator/sangria/lazy/class-use/LazySingleton.html b/latest/apidocs/com/tavianator/sangria/lazy/class-use/LazySingleton.html new file mode 100644 index 0000000..c04bed1 --- /dev/null +++ b/latest/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/latest/apidocs/com/tavianator/sangria/lazy/class-use/SangriaLazyModule.html b/latest/apidocs/com/tavianator/sangria/lazy/class-use/SangriaLazyModule.html new file mode 100644 index 0000000..bef149c --- /dev/null +++ b/latest/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/latest/apidocs/com/tavianator/sangria/lazy/package-frame.html b/latest/apidocs/com/tavianator/sangria/lazy/package-frame.html new file mode 100644 index 0000000..39ed92b --- /dev/null +++ b/latest/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/latest/apidocs/com/tavianator/sangria/lazy/package-summary.html b/latest/apidocs/com/tavianator/sangria/lazy/package-summary.html new file mode 100644 index 0000000..24eb688 --- /dev/null +++ b/latest/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

+
+
Lazy loading.
+
+

See: Description

+
+
+ + + + +

Package com.tavianator.sangria.lazy Description

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

Copyright © 2014. All rights reserved.

+ + diff --git a/latest/apidocs/com/tavianator/sangria/lazy/package-tree.html b/latest/apidocs/com/tavianator/sangria/lazy/package-tree.html new file mode 100644 index 0000000..fdf0da9 --- /dev/null +++ b/latest/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/latest/apidocs/com/tavianator/sangria/lazy/package-use.html b/latest/apidocs/com/tavianator/sangria/lazy/package-use.html new file mode 100644 index 0000000..6a928ee --- /dev/null +++ b/latest/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/latest/apidocs/com/tavianator/sangria/listbinder/AnnotatedListBinderBuilder.html b/latest/apidocs/com/tavianator/sangria/listbinder/AnnotatedListBinderBuilder.html new file mode 100644 index 0000000..57baf06 --- /dev/null +++ b/latest/apidocs/com/tavianator/sangria/listbinder/AnnotatedListBinderBuilder.html @@ -0,0 +1,275 @@ + + + + + + +AnnotatedListBinderBuilder (Sangria 1.2-SNAPSHOT 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/latest/apidocs/com/tavianator/sangria/listbinder/ListBinder.html b/latest/apidocs/com/tavianator/sangria/listbinder/ListBinder.html new file mode 100644 index 0000000..cac244d --- /dev/null +++ b/latest/apidocs/com/tavianator/sangria/listbinder/ListBinder.html @@ -0,0 +1,390 @@ + + + + + + +ListBinder (Sangria 1.2-SNAPSHOT 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. All rights reserved.

+ + diff --git a/latest/apidocs/com/tavianator/sangria/listbinder/ListBinderBuilder.html b/latest/apidocs/com/tavianator/sangria/listbinder/ListBinderBuilder.html new file mode 100644 index 0000000..a203c4c --- /dev/null +++ b/latest/apidocs/com/tavianator/sangria/listbinder/ListBinderBuilder.html @@ -0,0 +1,263 @@ + + + + + + +ListBinderBuilder (Sangria 1.2-SNAPSHOT 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/latest/apidocs/com/tavianator/sangria/listbinder/class-use/AnnotatedListBinderBuilder.html b/latest/apidocs/com/tavianator/sangria/listbinder/class-use/AnnotatedListBinderBuilder.html new file mode 100644 index 0000000..4097592 --- /dev/null +++ b/latest/apidocs/com/tavianator/sangria/listbinder/class-use/AnnotatedListBinderBuilder.html @@ -0,0 +1,178 @@ + + + + + + +Uses of Interface com.tavianator.sangria.listbinder.AnnotatedListBinderBuilder (Sangria 1.2-SNAPSHOT API) + + + + + + + + +
+ + + + + + + +
+ + +
+

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

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

Copyright © 2014. All rights reserved.

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

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

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

Copyright © 2014. All rights reserved.

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

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

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

Copyright © 2014. All rights reserved.

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

com.tavianator.sangria.listbinder

+
+

Interfaces

+ +

Classes

+ +
+ + diff --git a/latest/apidocs/com/tavianator/sangria/listbinder/package-summary.html b/latest/apidocs/com/tavianator/sangria/listbinder/package-summary.html new file mode 100644 index 0000000..7356f15 --- /dev/null +++ b/latest/apidocs/com/tavianator/sangria/listbinder/package-summary.html @@ -0,0 +1,186 @@ + + + + + + +com.tavianator.sangria.listbinder (Sangria 1.2-SNAPSHOT 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/latest/apidocs/com/tavianator/sangria/listbinder/package-tree.html b/latest/apidocs/com/tavianator/sangria/listbinder/package-tree.html new file mode 100644 index 0000000..c160a90 --- /dev/null +++ b/latest/apidocs/com/tavianator/sangria/listbinder/package-tree.html @@ -0,0 +1,147 @@ + + + + + + +com.tavianator.sangria.listbinder Class Hierarchy (Sangria 1.2-SNAPSHOT API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package com.tavianator.sangria.listbinder

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Interface Hierarchy

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

Copyright © 2014. All rights reserved.

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

Uses of Package
com.tavianator.sangria.listbinder

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

Copyright © 2014. All rights reserved.

+ + diff --git a/latest/apidocs/com/tavianator/sangria/log4j/SangriaLog4jModule.html b/latest/apidocs/com/tavianator/sangria/log4j/SangriaLog4jModule.html new file mode 100644 index 0000000..ef18c54 --- /dev/null +++ b/latest/apidocs/com/tavianator/sangria/log4j/SangriaLog4jModule.html @@ -0,0 +1,302 @@ + + + + + + +SangriaLog4jModule (Sangria 1.2-SNAPSHOT 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/latest/apidocs/com/tavianator/sangria/log4j/class-use/SangriaLog4jModule.html b/latest/apidocs/com/tavianator/sangria/log4j/class-use/SangriaLog4jModule.html new file mode 100644 index 0000000..b04a492 --- /dev/null +++ b/latest/apidocs/com/tavianator/sangria/log4j/class-use/SangriaLog4jModule.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.tavianator.sangria.log4j.SangriaLog4jModule (Sangria 1.2-SNAPSHOT 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/latest/apidocs/com/tavianator/sangria/log4j/package-frame.html b/latest/apidocs/com/tavianator/sangria/log4j/package-frame.html new file mode 100644 index 0000000..fcfa8b7 --- /dev/null +++ b/latest/apidocs/com/tavianator/sangria/log4j/package-frame.html @@ -0,0 +1,21 @@ + + + + + + +com.tavianator.sangria.log4j (Sangria 1.2-SNAPSHOT API) + + + + + +

com.tavianator.sangria.log4j

+
+

Classes

+ +
+ + diff --git a/latest/apidocs/com/tavianator/sangria/log4j/package-summary.html b/latest/apidocs/com/tavianator/sangria/log4j/package-summary.html new file mode 100644 index 0000000..2f4bcd7 --- /dev/null +++ b/latest/apidocs/com/tavianator/sangria/log4j/package-summary.html @@ -0,0 +1,163 @@ + + + + + + +com.tavianator.sangria.log4j (Sangria 1.2-SNAPSHOT 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/latest/apidocs/com/tavianator/sangria/log4j/package-tree.html b/latest/apidocs/com/tavianator/sangria/log4j/package-tree.html new file mode 100644 index 0000000..eb7c581 --- /dev/null +++ b/latest/apidocs/com/tavianator/sangria/log4j/package-tree.html @@ -0,0 +1,143 @@ + + + + + + +com.tavianator.sangria.log4j Class Hierarchy (Sangria 1.2-SNAPSHOT API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package com.tavianator.sangria.log4j

+Package Hierarchies: + +
+
+

Class Hierarchy

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

Copyright © 2014. All rights reserved.

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

Uses of Package
com.tavianator.sangria.log4j

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

Copyright © 2014. All rights reserved.

+ + diff --git a/latest/apidocs/com/tavianator/sangria/slf4j/SangriaSlf4jModule.html b/latest/apidocs/com/tavianator/sangria/slf4j/SangriaSlf4jModule.html new file mode 100644 index 0000000..b9b6e2f --- /dev/null +++ b/latest/apidocs/com/tavianator/sangria/slf4j/SangriaSlf4jModule.html @@ -0,0 +1,302 @@ + + + + + + +SangriaSlf4jModule (Sangria 1.2-SNAPSHOT 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/latest/apidocs/com/tavianator/sangria/slf4j/class-use/SangriaSlf4jModule.html b/latest/apidocs/com/tavianator/sangria/slf4j/class-use/SangriaSlf4jModule.html new file mode 100644 index 0000000..74469de --- /dev/null +++ b/latest/apidocs/com/tavianator/sangria/slf4j/class-use/SangriaSlf4jModule.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.tavianator.sangria.slf4j.SangriaSlf4jModule (Sangria 1.2-SNAPSHOT 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/latest/apidocs/com/tavianator/sangria/slf4j/package-frame.html b/latest/apidocs/com/tavianator/sangria/slf4j/package-frame.html new file mode 100644 index 0000000..c529a69 --- /dev/null +++ b/latest/apidocs/com/tavianator/sangria/slf4j/package-frame.html @@ -0,0 +1,21 @@ + + + + + + +com.tavianator.sangria.slf4j (Sangria 1.2-SNAPSHOT API) + + + + + +

com.tavianator.sangria.slf4j

+
+

Classes

+ +
+ + diff --git a/latest/apidocs/com/tavianator/sangria/slf4j/package-summary.html b/latest/apidocs/com/tavianator/sangria/slf4j/package-summary.html new file mode 100644 index 0000000..0c35af1 --- /dev/null +++ b/latest/apidocs/com/tavianator/sangria/slf4j/package-summary.html @@ -0,0 +1,163 @@ + + + + + + +com.tavianator.sangria.slf4j (Sangria 1.2-SNAPSHOT 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/latest/apidocs/com/tavianator/sangria/slf4j/package-tree.html b/latest/apidocs/com/tavianator/sangria/slf4j/package-tree.html new file mode 100644 index 0000000..0a90024 --- /dev/null +++ b/latest/apidocs/com/tavianator/sangria/slf4j/package-tree.html @@ -0,0 +1,143 @@ + + + + + + +com.tavianator.sangria.slf4j Class Hierarchy (Sangria 1.2-SNAPSHOT API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package com.tavianator.sangria.slf4j

+Package Hierarchies: + +
+
+

Class Hierarchy

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

Copyright © 2014. All rights reserved.

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

Uses of Package
com.tavianator.sangria.slf4j

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

Copyright © 2014. All rights reserved.

+ + -- cgit v1.2.3