From 95bb12d092948a0e52f5fb2edd8e3c781efc2392 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Tue, 16 Sep 2014 10:21:08 -0400 Subject: Add version 1.1 site. --- .../apidocs/com/tavianator/sangria/lazy/Lazy.html | 278 +++++++++++++++++ .../com/tavianator/sangria/lazy/LazyBinder.html | 303 +++++++++++++++++++ .../com/tavianator/sangria/lazy/LazyBinding.html | 234 +++++++++++++++ .../sangria/lazy/LazyBindingVisitor.html | 251 ++++++++++++++++ .../com/tavianator/sangria/lazy/LazyScopes.html | 289 ++++++++++++++++++ .../com/tavianator/sangria/lazy/LazySingleton.html | 176 +++++++++++ .../tavianator/sangria/lazy/SangriaLazyModule.html | 334 +++++++++++++++++++++ .../tavianator/sangria/lazy/class-use/Lazy.html | 124 ++++++++ .../sangria/lazy/class-use/LazyBinder.html | 151 ++++++++++ .../sangria/lazy/class-use/LazyBinding.html | 151 ++++++++++ .../sangria/lazy/class-use/LazyBindingVisitor.html | 124 ++++++++ .../sangria/lazy/class-use/LazyScopes.html | 124 ++++++++ .../sangria/lazy/class-use/LazySingleton.html | 124 ++++++++ .../sangria/lazy/class-use/SangriaLazyModule.html | 124 ++++++++ .../com/tavianator/sangria/lazy/package-frame.html | 33 ++ .../tavianator/sangria/lazy/package-summary.html | 219 ++++++++++++++ .../com/tavianator/sangria/lazy/package-tree.html | 153 ++++++++++ .../com/tavianator/sangria/lazy/package-use.html | 149 +++++++++ 18 files changed, 3341 insertions(+) create mode 100644 1.1/sangria-lazy/apidocs/com/tavianator/sangria/lazy/Lazy.html create mode 100644 1.1/sangria-lazy/apidocs/com/tavianator/sangria/lazy/LazyBinder.html create mode 100644 1.1/sangria-lazy/apidocs/com/tavianator/sangria/lazy/LazyBinding.html create mode 100644 1.1/sangria-lazy/apidocs/com/tavianator/sangria/lazy/LazyBindingVisitor.html create mode 100644 1.1/sangria-lazy/apidocs/com/tavianator/sangria/lazy/LazyScopes.html create mode 100644 1.1/sangria-lazy/apidocs/com/tavianator/sangria/lazy/LazySingleton.html create mode 100644 1.1/sangria-lazy/apidocs/com/tavianator/sangria/lazy/SangriaLazyModule.html create mode 100644 1.1/sangria-lazy/apidocs/com/tavianator/sangria/lazy/class-use/Lazy.html create mode 100644 1.1/sangria-lazy/apidocs/com/tavianator/sangria/lazy/class-use/LazyBinder.html create mode 100644 1.1/sangria-lazy/apidocs/com/tavianator/sangria/lazy/class-use/LazyBinding.html create mode 100644 1.1/sangria-lazy/apidocs/com/tavianator/sangria/lazy/class-use/LazyBindingVisitor.html create mode 100644 1.1/sangria-lazy/apidocs/com/tavianator/sangria/lazy/class-use/LazyScopes.html create mode 100644 1.1/sangria-lazy/apidocs/com/tavianator/sangria/lazy/class-use/LazySingleton.html create mode 100644 1.1/sangria-lazy/apidocs/com/tavianator/sangria/lazy/class-use/SangriaLazyModule.html create mode 100644 1.1/sangria-lazy/apidocs/com/tavianator/sangria/lazy/package-frame.html create mode 100644 1.1/sangria-lazy/apidocs/com/tavianator/sangria/lazy/package-summary.html create mode 100644 1.1/sangria-lazy/apidocs/com/tavianator/sangria/lazy/package-tree.html create mode 100644 1.1/sangria-lazy/apidocs/com/tavianator/sangria/lazy/package-use.html (limited to '1.1/sangria-lazy/apidocs/com/tavianator/sangria') diff --git a/1.1/sangria-lazy/apidocs/com/tavianator/sangria/lazy/Lazy.html b/1.1/sangria-lazy/apidocs/com/tavianator/sangria/lazy/Lazy.html new file mode 100644 index 0000000..91aa36a --- /dev/null +++ b/1.1/sangria-lazy/apidocs/com/tavianator/sangria/lazy/Lazy.html @@ -0,0 +1,278 @@ + + + + + + +Lazy (Sangria Lazy 1.2-SNAPSHOT API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tavianator.sangria.lazy
+

Class Lazy<T>

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

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

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

      Method Detail

      + + + +
        +
      • +

        get

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

Copyright © 2014. All rights reserved.

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

Class LazyBinder

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

Copyright © 2014. All rights reserved.

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

Interface LazyBinding<T>

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

      Method Detail

      + + + +
        +
      • +

        getTargetKey

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

Copyright © 2014. All rights reserved.

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

Interface LazyBindingVisitor<T,V>

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

      Method Detail

      + + + +
        +
      • +

        visit

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

Copyright © 2014. All rights reserved.

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

Class LazyScopes

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

      Constructor Detail

      + + + +
        +
      • +

        LazyScopes

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

Copyright © 2014. All rights reserved.

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

Annotation Type LazySingleton

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

Copyright © 2014. All rights reserved.

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

Class SangriaLazyModule

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

      Constructor Detail

      + + + +
        +
      • +

        SangriaLazyModule

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

Copyright © 2014. All rights reserved.

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

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

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

Copyright © 2014. All rights reserved.

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

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

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

Copyright © 2014. All rights reserved.

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

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

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

Copyright © 2014. All rights reserved.

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

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

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

Copyright © 2014. All rights reserved.

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

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

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

Copyright © 2014. All rights reserved.

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

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

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

Copyright © 2014. All rights reserved.

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

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

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

Copyright © 2014. All rights reserved.

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

com.tavianator.sangria.lazy

+
+

Interfaces

+ +

Classes

+ +

Annotation Types

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

Package com.tavianator.sangria.lazy

+
+
sangria-lazy: Lazy loading.
+
+

See: Description

+
+
+ + + + +

Package com.tavianator.sangria.lazy Description

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

Copyright © 2014. All rights reserved.

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

Hierarchy For Package com.tavianator.sangria.lazy

+
+
+

Class Hierarchy

+ +

Interface Hierarchy

+ +

Annotation Type Hierarchy

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

Copyright © 2014. All rights reserved.

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

Uses of Package
com.tavianator.sangria.lazy

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

Copyright © 2014. All rights reserved.

+ + -- cgit v1.2.3