From 17b69d672f8e4f5e99f54256a4141320b0a846e0 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sat, 4 Oct 2014 13:09:39 -0400 Subject: Add version 1.2 site. --- 1.2/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 | 302 ++++++++++++++++++++ .../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 ++++++++++++ 18 files changed, 3396 insertions(+) create mode 100644 1.2/apidocs/com/tavianator/sangria/lazy/Lazy.html create mode 100644 1.2/apidocs/com/tavianator/sangria/lazy/LazyBinder.html create mode 100644 1.2/apidocs/com/tavianator/sangria/lazy/LazyBinding.html create mode 100644 1.2/apidocs/com/tavianator/sangria/lazy/LazyBindingVisitor.html create mode 100644 1.2/apidocs/com/tavianator/sangria/lazy/LazyScopes.html create mode 100644 1.2/apidocs/com/tavianator/sangria/lazy/LazySingleton.html create mode 100644 1.2/apidocs/com/tavianator/sangria/lazy/SangriaLazyModule.html create mode 100644 1.2/apidocs/com/tavianator/sangria/lazy/class-use/Lazy.html create mode 100644 1.2/apidocs/com/tavianator/sangria/lazy/class-use/LazyBinder.html create mode 100644 1.2/apidocs/com/tavianator/sangria/lazy/class-use/LazyBinding.html create mode 100644 1.2/apidocs/com/tavianator/sangria/lazy/class-use/LazyBindingVisitor.html create mode 100644 1.2/apidocs/com/tavianator/sangria/lazy/class-use/LazyScopes.html create mode 100644 1.2/apidocs/com/tavianator/sangria/lazy/class-use/LazySingleton.html create mode 100644 1.2/apidocs/com/tavianator/sangria/lazy/class-use/SangriaLazyModule.html create mode 100644 1.2/apidocs/com/tavianator/sangria/lazy/package-frame.html create mode 100644 1.2/apidocs/com/tavianator/sangria/lazy/package-summary.html create mode 100644 1.2/apidocs/com/tavianator/sangria/lazy/package-tree.html create mode 100644 1.2/apidocs/com/tavianator/sangria/lazy/package-use.html (limited to '1.2/apidocs/com/tavianator/sangria/lazy') diff --git a/1.2/apidocs/com/tavianator/sangria/lazy/Lazy.html b/1.2/apidocs/com/tavianator/sangria/lazy/Lazy.html new file mode 100644 index 0000000..6f897d4 --- /dev/null +++ b/1.2/apidocs/com/tavianator/sangria/lazy/Lazy.html @@ -0,0 +1,280 @@ + + + + + + +Lazy (Sangria 1.2 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.2/apidocs/com/tavianator/sangria/lazy/LazyBinder.html b/1.2/apidocs/com/tavianator/sangria/lazy/LazyBinder.html new file mode 100644 index 0000000..b027468 --- /dev/null +++ b/1.2/apidocs/com/tavianator/sangria/lazy/LazyBinder.html @@ -0,0 +1,305 @@ + + + + + + +LazyBinder (Sangria 1.2 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.2/apidocs/com/tavianator/sangria/lazy/LazyBinding.html b/1.2/apidocs/com/tavianator/sangria/lazy/LazyBinding.html new file mode 100644 index 0000000..8745253 --- /dev/null +++ b/1.2/apidocs/com/tavianator/sangria/lazy/LazyBinding.html @@ -0,0 +1,236 @@ + + + + + + +LazyBinding (Sangria 1.2 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.2/apidocs/com/tavianator/sangria/lazy/LazyBindingVisitor.html b/1.2/apidocs/com/tavianator/sangria/lazy/LazyBindingVisitor.html new file mode 100644 index 0000000..c5bdf89 --- /dev/null +++ b/1.2/apidocs/com/tavianator/sangria/lazy/LazyBindingVisitor.html @@ -0,0 +1,253 @@ + + + + + + +LazyBindingVisitor (Sangria 1.2 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.2/apidocs/com/tavianator/sangria/lazy/LazyScopes.html b/1.2/apidocs/com/tavianator/sangria/lazy/LazyScopes.html new file mode 100644 index 0000000..96e61c8 --- /dev/null +++ b/1.2/apidocs/com/tavianator/sangria/lazy/LazyScopes.html @@ -0,0 +1,291 @@ + + + + + + +LazyScopes (Sangria 1.2 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.2/apidocs/com/tavianator/sangria/lazy/LazySingleton.html b/1.2/apidocs/com/tavianator/sangria/lazy/LazySingleton.html new file mode 100644 index 0000000..4f11de7 --- /dev/null +++ b/1.2/apidocs/com/tavianator/sangria/lazy/LazySingleton.html @@ -0,0 +1,178 @@ + + + + + + +LazySingleton (Sangria 1.2 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tavianator.sangria.lazy
+

Annotation Type LazySingleton

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

Copyright © 2014. All rights reserved.

+ + diff --git a/1.2/apidocs/com/tavianator/sangria/lazy/SangriaLazyModule.html b/1.2/apidocs/com/tavianator/sangria/lazy/SangriaLazyModule.html new file mode 100644 index 0000000..2dcccf3 --- /dev/null +++ b/1.2/apidocs/com/tavianator/sangria/lazy/SangriaLazyModule.html @@ -0,0 +1,302 @@ + + + + + + +SangriaLazyModule (Sangria 1.2 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.2/apidocs/com/tavianator/sangria/lazy/class-use/Lazy.html b/1.2/apidocs/com/tavianator/sangria/lazy/class-use/Lazy.html new file mode 100644 index 0000000..8a5b255 --- /dev/null +++ b/1.2/apidocs/com/tavianator/sangria/lazy/class-use/Lazy.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.tavianator.sangria.lazy.Lazy (Sangria 1.2 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.2/apidocs/com/tavianator/sangria/lazy/class-use/LazyBinder.html b/1.2/apidocs/com/tavianator/sangria/lazy/class-use/LazyBinder.html new file mode 100644 index 0000000..6b67f85 --- /dev/null +++ b/1.2/apidocs/com/tavianator/sangria/lazy/class-use/LazyBinder.html @@ -0,0 +1,170 @@ + + + + + + +Uses of Class com.tavianator.sangria.lazy.LazyBinder (Sangria 1.2 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

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

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

Copyright © 2014. All rights reserved.

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

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

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

Copyright © 2014. All rights reserved.

+ + diff --git a/1.2/apidocs/com/tavianator/sangria/lazy/class-use/LazyBindingVisitor.html b/1.2/apidocs/com/tavianator/sangria/lazy/class-use/LazyBindingVisitor.html new file mode 100644 index 0000000..0e75fa3 --- /dev/null +++ b/1.2/apidocs/com/tavianator/sangria/lazy/class-use/LazyBindingVisitor.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Interface com.tavianator.sangria.lazy.LazyBindingVisitor (Sangria 1.2 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.2/apidocs/com/tavianator/sangria/lazy/class-use/LazyScopes.html b/1.2/apidocs/com/tavianator/sangria/lazy/class-use/LazyScopes.html new file mode 100644 index 0000000..d39c464 --- /dev/null +++ b/1.2/apidocs/com/tavianator/sangria/lazy/class-use/LazyScopes.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.tavianator.sangria.lazy.LazyScopes (Sangria 1.2 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.2/apidocs/com/tavianator/sangria/lazy/class-use/LazySingleton.html b/1.2/apidocs/com/tavianator/sangria/lazy/class-use/LazySingleton.html new file mode 100644 index 0000000..1e0c74f --- /dev/null +++ b/1.2/apidocs/com/tavianator/sangria/lazy/class-use/LazySingleton.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.tavianator.sangria.lazy.LazySingleton (Sangria 1.2 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.2/apidocs/com/tavianator/sangria/lazy/class-use/SangriaLazyModule.html b/1.2/apidocs/com/tavianator/sangria/lazy/class-use/SangriaLazyModule.html new file mode 100644 index 0000000..10a438d --- /dev/null +++ b/1.2/apidocs/com/tavianator/sangria/lazy/class-use/SangriaLazyModule.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class com.tavianator.sangria.lazy.SangriaLazyModule (Sangria 1.2 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.2/apidocs/com/tavianator/sangria/lazy/package-frame.html b/1.2/apidocs/com/tavianator/sangria/lazy/package-frame.html new file mode 100644 index 0000000..0898c23 --- /dev/null +++ b/1.2/apidocs/com/tavianator/sangria/lazy/package-frame.html @@ -0,0 +1,33 @@ + + + + + + +com.tavianator.sangria.lazy (Sangria 1.2 API) + + + + + +

com.tavianator.sangria.lazy

+
+

Interfaces

+ +

Classes

+ +

Annotation Types

+ +
+ + diff --git a/1.2/apidocs/com/tavianator/sangria/lazy/package-summary.html b/1.2/apidocs/com/tavianator/sangria/lazy/package-summary.html new file mode 100644 index 0000000..e77d940 --- /dev/null +++ b/1.2/apidocs/com/tavianator/sangria/lazy/package-summary.html @@ -0,0 +1,221 @@ + + + + + + +com.tavianator.sangria.lazy (Sangria 1.2 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.2/apidocs/com/tavianator/sangria/lazy/package-tree.html b/1.2/apidocs/com/tavianator/sangria/lazy/package-tree.html new file mode 100644 index 0000000..cf59695 --- /dev/null +++ b/1.2/apidocs/com/tavianator/sangria/lazy/package-tree.html @@ -0,0 +1,159 @@ + + + + + + +com.tavianator.sangria.lazy Class Hierarchy (Sangria 1.2 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.2/apidocs/com/tavianator/sangria/lazy/package-use.html b/1.2/apidocs/com/tavianator/sangria/lazy/package-use.html new file mode 100644 index 0000000..61bd49a --- /dev/null +++ b/1.2/apidocs/com/tavianator/sangria/lazy/package-use.html @@ -0,0 +1,168 @@ + + + + + + +Uses of Package com.tavianator.sangria.lazy (Sangria 1.2 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Package
com.tavianator.sangria.lazy

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

Copyright © 2014. All rights reserved.

+ + -- cgit v1.2.3