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. --- .../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 | 300 ++++++++++++++++++++ .../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, 3307 insertions(+) create mode 100644 1.2/sangria-lazy/apidocs/com/tavianator/sangria/lazy/Lazy.html create mode 100644 1.2/sangria-lazy/apidocs/com/tavianator/sangria/lazy/LazyBinder.html create mode 100644 1.2/sangria-lazy/apidocs/com/tavianator/sangria/lazy/LazyBinding.html create mode 100644 1.2/sangria-lazy/apidocs/com/tavianator/sangria/lazy/LazyBindingVisitor.html create mode 100644 1.2/sangria-lazy/apidocs/com/tavianator/sangria/lazy/LazyScopes.html create mode 100644 1.2/sangria-lazy/apidocs/com/tavianator/sangria/lazy/LazySingleton.html create mode 100644 1.2/sangria-lazy/apidocs/com/tavianator/sangria/lazy/SangriaLazyModule.html create mode 100644 1.2/sangria-lazy/apidocs/com/tavianator/sangria/lazy/class-use/Lazy.html create mode 100644 1.2/sangria-lazy/apidocs/com/tavianator/sangria/lazy/class-use/LazyBinder.html create mode 100644 1.2/sangria-lazy/apidocs/com/tavianator/sangria/lazy/class-use/LazyBinding.html create mode 100644 1.2/sangria-lazy/apidocs/com/tavianator/sangria/lazy/class-use/LazyBindingVisitor.html create mode 100644 1.2/sangria-lazy/apidocs/com/tavianator/sangria/lazy/class-use/LazyScopes.html create mode 100644 1.2/sangria-lazy/apidocs/com/tavianator/sangria/lazy/class-use/LazySingleton.html create mode 100644 1.2/sangria-lazy/apidocs/com/tavianator/sangria/lazy/class-use/SangriaLazyModule.html create mode 100644 1.2/sangria-lazy/apidocs/com/tavianator/sangria/lazy/package-frame.html create mode 100644 1.2/sangria-lazy/apidocs/com/tavianator/sangria/lazy/package-summary.html create mode 100644 1.2/sangria-lazy/apidocs/com/tavianator/sangria/lazy/package-tree.html create mode 100644 1.2/sangria-lazy/apidocs/com/tavianator/sangria/lazy/package-use.html (limited to '1.2/sangria-lazy/apidocs/com/tavianator') diff --git a/1.2/sangria-lazy/apidocs/com/tavianator/sangria/lazy/Lazy.html b/1.2/sangria-lazy/apidocs/com/tavianator/sangria/lazy/Lazy.html new file mode 100644 index 0000000..9b3cc79 --- /dev/null +++ b/1.2/sangria-lazy/apidocs/com/tavianator/sangria/lazy/Lazy.html @@ -0,0 +1,278 @@ + + + + + + +Lazy (Sangria Lazy 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/sangria-lazy/apidocs/com/tavianator/sangria/lazy/LazyBinder.html b/1.2/sangria-lazy/apidocs/com/tavianator/sangria/lazy/LazyBinder.html new file mode 100644 index 0000000..9bad554 --- /dev/null +++ b/1.2/sangria-lazy/apidocs/com/tavianator/sangria/lazy/LazyBinder.html @@ -0,0 +1,303 @@ + + + + + + +LazyBinder (Sangria Lazy 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/sangria-lazy/apidocs/com/tavianator/sangria/lazy/LazyBinding.html b/1.2/sangria-lazy/apidocs/com/tavianator/sangria/lazy/LazyBinding.html new file mode 100644 index 0000000..0d53cdd --- /dev/null +++ b/1.2/sangria-lazy/apidocs/com/tavianator/sangria/lazy/LazyBinding.html @@ -0,0 +1,234 @@ + + + + + + +LazyBinding (Sangria Lazy 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/sangria-lazy/apidocs/com/tavianator/sangria/lazy/LazyBindingVisitor.html b/1.2/sangria-lazy/apidocs/com/tavianator/sangria/lazy/LazyBindingVisitor.html new file mode 100644 index 0000000..0a764b5 --- /dev/null +++ b/1.2/sangria-lazy/apidocs/com/tavianator/sangria/lazy/LazyBindingVisitor.html @@ -0,0 +1,251 @@ + + + + + + +LazyBindingVisitor (Sangria Lazy 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/sangria-lazy/apidocs/com/tavianator/sangria/lazy/LazyScopes.html b/1.2/sangria-lazy/apidocs/com/tavianator/sangria/lazy/LazyScopes.html new file mode 100644 index 0000000..8bb2903 --- /dev/null +++ b/1.2/sangria-lazy/apidocs/com/tavianator/sangria/lazy/LazyScopes.html @@ -0,0 +1,289 @@ + + + + + + +LazyScopes (Sangria Lazy 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/sangria-lazy/apidocs/com/tavianator/sangria/lazy/LazySingleton.html b/1.2/sangria-lazy/apidocs/com/tavianator/sangria/lazy/LazySingleton.html new file mode 100644 index 0000000..37ae4d4 --- /dev/null +++ b/1.2/sangria-lazy/apidocs/com/tavianator/sangria/lazy/LazySingleton.html @@ -0,0 +1,176 @@ + + + + + + +LazySingleton (Sangria Lazy 1.2 API) + + + + + + + + +
+ + + + + + + +
+ + + +
+
com.tavianator.sangria.lazy
+

Annotation Type LazySingleton

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

Copyright © 2014. All rights reserved.

+ + diff --git a/1.2/sangria-lazy/apidocs/com/tavianator/sangria/lazy/SangriaLazyModule.html b/1.2/sangria-lazy/apidocs/com/tavianator/sangria/lazy/SangriaLazyModule.html new file mode 100644 index 0000000..d8f9319 --- /dev/null +++ b/1.2/sangria-lazy/apidocs/com/tavianator/sangria/lazy/SangriaLazyModule.html @@ -0,0 +1,300 @@ + + + + + + +SangriaLazyModule (Sangria Lazy 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/sangria-lazy/apidocs/com/tavianator/sangria/lazy/class-use/Lazy.html b/1.2/sangria-lazy/apidocs/com/tavianator/sangria/lazy/class-use/Lazy.html new file mode 100644 index 0000000..c647a6d --- /dev/null +++ b/1.2/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 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/sangria-lazy/apidocs/com/tavianator/sangria/lazy/class-use/LazyBinder.html b/1.2/sangria-lazy/apidocs/com/tavianator/sangria/lazy/class-use/LazyBinder.html new file mode 100644 index 0000000..afa7d17 --- /dev/null +++ b/1.2/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 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

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

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

Copyright © 2014. All rights reserved.

+ + diff --git a/1.2/sangria-lazy/apidocs/com/tavianator/sangria/lazy/class-use/LazyBinding.html b/1.2/sangria-lazy/apidocs/com/tavianator/sangria/lazy/class-use/LazyBinding.html new file mode 100644 index 0000000..dec8d02 --- /dev/null +++ b/1.2/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 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

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

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

Copyright © 2014. All rights reserved.

+ + diff --git a/1.2/sangria-lazy/apidocs/com/tavianator/sangria/lazy/class-use/LazyBindingVisitor.html b/1.2/sangria-lazy/apidocs/com/tavianator/sangria/lazy/class-use/LazyBindingVisitor.html new file mode 100644 index 0000000..ce1cf06 --- /dev/null +++ b/1.2/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 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/sangria-lazy/apidocs/com/tavianator/sangria/lazy/class-use/LazyScopes.html b/1.2/sangria-lazy/apidocs/com/tavianator/sangria/lazy/class-use/LazyScopes.html new file mode 100644 index 0000000..2b61fc5 --- /dev/null +++ b/1.2/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 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/sangria-lazy/apidocs/com/tavianator/sangria/lazy/class-use/LazySingleton.html b/1.2/sangria-lazy/apidocs/com/tavianator/sangria/lazy/class-use/LazySingleton.html new file mode 100644 index 0000000..55369a8 --- /dev/null +++ b/1.2/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 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/sangria-lazy/apidocs/com/tavianator/sangria/lazy/class-use/SangriaLazyModule.html b/1.2/sangria-lazy/apidocs/com/tavianator/sangria/lazy/class-use/SangriaLazyModule.html new file mode 100644 index 0000000..de7e54f --- /dev/null +++ b/1.2/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 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/sangria-lazy/apidocs/com/tavianator/sangria/lazy/package-frame.html b/1.2/sangria-lazy/apidocs/com/tavianator/sangria/lazy/package-frame.html new file mode 100644 index 0000000..60cc272 --- /dev/null +++ b/1.2/sangria-lazy/apidocs/com/tavianator/sangria/lazy/package-frame.html @@ -0,0 +1,33 @@ + + + + + + +com.tavianator.sangria.lazy (Sangria Lazy 1.2 API) + + + + + +

com.tavianator.sangria.lazy

+
+

Interfaces

+ +

Classes

+ +

Annotation Types

+ +
+ + diff --git a/1.2/sangria-lazy/apidocs/com/tavianator/sangria/lazy/package-summary.html b/1.2/sangria-lazy/apidocs/com/tavianator/sangria/lazy/package-summary.html new file mode 100644 index 0000000..be3aabc --- /dev/null +++ b/1.2/sangria-lazy/apidocs/com/tavianator/sangria/lazy/package-summary.html @@ -0,0 +1,219 @@ + + + + + + +com.tavianator.sangria.lazy (Sangria Lazy 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/sangria-lazy/apidocs/com/tavianator/sangria/lazy/package-tree.html b/1.2/sangria-lazy/apidocs/com/tavianator/sangria/lazy/package-tree.html new file mode 100644 index 0000000..9edc017 --- /dev/null +++ b/1.2/sangria-lazy/apidocs/com/tavianator/sangria/lazy/package-tree.html @@ -0,0 +1,153 @@ + + + + + + +com.tavianator.sangria.lazy Class Hierarchy (Sangria Lazy 1.2 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package com.tavianator.sangria.lazy

+
+
+

Class Hierarchy

+ +

Interface Hierarchy

+ +

Annotation Type Hierarchy

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

Copyright © 2014. All rights reserved.

+ + diff --git a/1.2/sangria-lazy/apidocs/com/tavianator/sangria/lazy/package-use.html b/1.2/sangria-lazy/apidocs/com/tavianator/sangria/lazy/package-use.html new file mode 100644 index 0000000..6e4e762 --- /dev/null +++ b/1.2/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 API) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Package
com.tavianator.sangria.lazy

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

Copyright © 2014. All rights reserved.

+ + -- cgit v1.2.3