Skip navigation links
A B C D E F G H I L M N P S T U V W 

A

accept(PotentialAnnotation.Visitor<T>) - Method in class com.tavianator.sangria.core.PotentialAnnotation
addBinding() - Method in class com.tavianator.sangria.listbinder.ListBinder
Add an entry to the list.
AnnotatedContextSensitiveBindingBuilder<T> - Interface in com.tavianator.sangria.contextual
See the EDSL examples here.
AnnotatedListBinderBuilder<T> - Interface in com.tavianator.sangria.listbinder
Fluent builder interface.
annotatedWith(Class<? extends Annotation>) - Method in interface com.tavianator.sangria.contextual.AnnotatedContextSensitiveBindingBuilder
See the EDSL examples here.
annotatedWith(Annotation) - Method in interface com.tavianator.sangria.contextual.AnnotatedContextSensitiveBindingBuilder
See the EDSL examples here.
annotatedWith(Class<? extends Annotation>) - Method in class com.tavianator.sangria.core.PotentialAnnotation
Add an annotation.
annotatedWith(Annotation) - Method in class com.tavianator.sangria.core.PotentialAnnotation
Add an annotation.
annotatedWith(Class<? extends Annotation>) - Method in interface com.tavianator.sangria.listbinder.AnnotatedListBinderBuilder
Make a binder for an annotated list type.
annotatedWith(Annotation) - Method in interface com.tavianator.sangria.listbinder.AnnotatedListBinderBuilder
Make a binder for an annotated list type.
atomic() - Static method in class com.tavianator.sangria.test.SangriaMatchers
 

B

bind(Class<T>) - Method in class com.tavianator.sangria.contextual.ContextSensitiveBinder
See the EDSL examples here.
bind(TypeLiteral<T>) - Method in class com.tavianator.sangria.contextual.ContextSensitiveBinder
See the EDSL examples here.
bind(Key<T>) - Method in class com.tavianator.sangria.contextual.ContextSensitiveBinder
See the EDSL examples here.
bind(Class<T>) - Method in class com.tavianator.sangria.lazy.LazyBinder
See the EDSL examples at Lazy.
bind(TypeLiteral<T>) - Method in class com.tavianator.sangria.lazy.LazyBinder
See the EDSL examples at Lazy.
bind(Key<T>) - Method in class com.tavianator.sangria.lazy.LazyBinder
See the EDSL examples at Lazy.
build(Binder, Class<T>) - Static method in class com.tavianator.sangria.listbinder.ListBinder
Start building a ListBinder.
build(Binder, TypeLiteral<T>) - Static method in class com.tavianator.sangria.listbinder.ListBinder
Start building a ListBinder.

C

cancel() - Method in class com.tavianator.sangria.core.DelayedError
Cancel this error.
com.tavianator.sangria.contextual - package com.tavianator.sangria.contextual
sangria-contextual: Context-sensitive providers.
com.tavianator.sangria.core - package com.tavianator.sangria.core
sangria-core: Common code for Sangria.
com.tavianator.sangria.lazy - package com.tavianator.sangria.lazy
sangria-lazy: Lazy loading.
com.tavianator.sangria.listbinder - package com.tavianator.sangria.listbinder
sangria-listbinder: A multi-binder with guaranteed order.
com.tavianator.sangria.log4j - package com.tavianator.sangria.log4j
sangria-log4j: Log4j Logger injection.
com.tavianator.sangria.slf4j - package com.tavianator.sangria.slf4j
sangria-slf4j: SLF4J Logger injection.
com.tavianator.sangria.test - package com.tavianator.sangria.test
sangria-test: Utilities for testing with Guice.
compareTo(Priority) - Method in class com.tavianator.sangria.core.Priority
 
configure() - Method in class com.tavianator.sangria.lazy.SangriaLazyModule
 
configure() - Method in class com.tavianator.sangria.log4j.SangriaLog4jModule
 
configure() - Method in class com.tavianator.sangria.slf4j.SangriaSlf4jModule
 
ContextSensitiveBinder - Class in com.tavianator.sangria.contextual
ContextSensitiveBindingBuilder<T> - Interface in com.tavianator.sangria.contextual
See the EDSL examples here.
ContextSensitiveBindingVisitor<T,V> - Interface in com.tavianator.sangria.contextual
Visitor interface for the context-sensitive binding SPI.
ContextSensitiveProvider<T> - Interface in com.tavianator.sangria.contextual
Like a Provider, but with knowledge of the target InjectionPoint.
ContextSensitiveProviderInstanceBinding<T> - Interface in com.tavianator.sangria.contextual
SPI for ContextSensitiveProvider key bindings.
ContextSensitiveProviderKeyBinding<T> - Interface in com.tavianator.sangria.contextual
SPI for ContextSensitiveProvider key bindings.
create(Binder) - Static method in class com.tavianator.sangria.contextual.ContextSensitiveBinder
create(Binder, String, Object...) - Static method in class com.tavianator.sangria.core.DelayedError
Create a DelayedError.
create(Binder, Throwable) - Static method in class com.tavianator.sangria.core.DelayedError
Create a DelayedError.
create(Binder, Message) - Static method in class com.tavianator.sangria.core.DelayedError
Create a DelayedError.
create(int, int...) - Static method in class com.tavianator.sangria.core.Priority
Create a Priority with the given sequence.
create() - Static method in class com.tavianator.sangria.core.UniqueAnnotations
 
create(Binder) - Static method in class com.tavianator.sangria.lazy.LazyBinder
Create a LazyBinder.

D

DelayedError - Class in com.tavianator.sangria.core
Similar to Binder.addError(String, Object...), but can be canceled later.

E

equals(Object) - Method in class com.tavianator.sangria.core.PotentialAnnotation
 
equals(Object) - Method in class com.tavianator.sangria.core.Priority
 

F

followsBestPractices() - Static method in class com.tavianator.sangria.test.SangriaMatchers
 
format(String, Object...) - Static method in class com.tavianator.sangria.core.PrettyTypes
Format a message.
from(Key<?>) - Static method in class com.tavianator.sangria.core.PotentialAnnotation
Extract the annotation from a Key.

G

get() - Method in class com.tavianator.sangria.lazy.Lazy
 
getContextSensitiveProviderInstance() - Method in interface com.tavianator.sangria.contextual.ContextSensitiveProviderInstanceBinding
 
getContextSensitiveProviderKey() - Method in interface com.tavianator.sangria.contextual.ContextSensitiveProviderKeyBinding
 
getDefault() - Static method in class com.tavianator.sangria.core.Priority
 
getInContext(InjectionPoint) - Method in interface com.tavianator.sangria.contextual.ContextSensitiveProvider
Provide an instance of T for the given context.
getInjectionPoints() - Method in interface com.tavianator.sangria.contextual.ContextSensitiveProviderInstanceBinding
 
getInUnknownContext() - Method in interface com.tavianator.sangria.contextual.ContextSensitiveProvider
Provide an instance of T for an unknown context.
getKey(Class<T>) - Method in class com.tavianator.sangria.core.PotentialAnnotation
Create a Key with the given type and the stored annotation.
getKey(TypeLiteral<T>) - Method in class com.tavianator.sangria.core.PotentialAnnotation
Create a Key with the given type and the stored annotation.
getTargetKey() - Method in interface com.tavianator.sangria.lazy.LazyBinding
 

H

hasAnnotation() - Method in class com.tavianator.sangria.core.PotentialAnnotation
 
hashCode() - Method in class com.tavianator.sangria.core.PotentialAnnotation
 
hashCode() - Method in class com.tavianator.sangria.core.Priority
 

I

isDefault() - Method in class com.tavianator.sangria.core.Priority
 

L

Lazy<T> - Class in com.tavianator.sangria.lazy
A lazily-loaded dependency.
LAZY_SINGLETON - Static variable in class com.tavianator.sangria.lazy.LazyScopes
Lazy version of Scopes.SINGLETON.
LazyBinder - Class in com.tavianator.sangria.lazy
Binder for Lazy instances.
LazyBinding<T> - Interface in com.tavianator.sangria.lazy
SPI for LazyBinder bindings.
LazyBindingVisitor<T,V> - Interface in com.tavianator.sangria.lazy
Visitor interface for the lazy binding SPI.
LazyScopes - Class in com.tavianator.sangria.lazy
Lazy scope implementations.
LazyScopes() - Constructor for class com.tavianator.sangria.lazy.LazyScopes
 
LazySingleton - Annotation Type in com.tavianator.sangria.lazy
Like Singleton, but always lazy.
ListBinder<T> - Class in com.tavianator.sangria.listbinder
A multi-binder with guaranteed order.
ListBinderBuilder<T> - Interface in com.tavianator.sangria.listbinder
Fluent builder interface.
listOf(Class<T>) - Static method in class com.tavianator.sangria.core.TypeLiterals
 
listOf(TypeLiteral<T>) - Static method in class com.tavianator.sangria.core.TypeLiterals
 

M

mapOf(Class<K>, Class<V>) - Static method in class com.tavianator.sangria.core.TypeLiterals
 
mapOf(Class<K>, TypeLiteral<V>) - Static method in class com.tavianator.sangria.core.TypeLiterals
 
mapOf(TypeLiteral<K>, Class<V>) - Static method in class com.tavianator.sangria.core.TypeLiterals
 
mapOf(TypeLiteral<K>, TypeLiteral<V>) - Static method in class com.tavianator.sangria.core.TypeLiterals
 

N

next() - Method in class com.tavianator.sangria.core.Priority
 
none() - Static method in class com.tavianator.sangria.core.PotentialAnnotation
 

P

PotentialAnnotation - Class in com.tavianator.sangria.core
A record of stored annotations, perfect for builders with annotatedWith() methods.
PotentialAnnotation.Visitor<T> - Interface in com.tavianator.sangria.core
A visitor interface to examine a PotentialAnnotation's annotation, if it exists.
PrettyTypes - Class in com.tavianator.sangria.core
Utility class for pretty-printing messages containing types.
Priority - Class in com.tavianator.sangria.core
A loosely-coupled, infinitely divisible priority/weight system.
providerOf(Class<T>) - Static method in class com.tavianator.sangria.core.TypeLiterals
 
providerOf(TypeLiteral<T>) - Static method in class com.tavianator.sangria.core.TypeLiterals
 

S

SangriaLazyModule - Class in com.tavianator.sangria.lazy
Module for lazy initialization features.
SangriaLazyModule() - Constructor for class com.tavianator.sangria.lazy.SangriaLazyModule
 
SangriaLog4jModule - Class in com.tavianator.sangria.log4j
Module for Log4j Logger injection.
SangriaLog4jModule() - Constructor for class com.tavianator.sangria.log4j.SangriaLog4jModule
 
SangriaMatchers - Class in com.tavianator.sangria.test
Guice-related Hamcrest matchers.
SangriaSlf4jModule - Class in com.tavianator.sangria.slf4j
Module for SLF4J Logger injection.
SangriaSlf4jModule() - Constructor for class com.tavianator.sangria.slf4j.SangriaSlf4jModule
 
setOf(Class<T>) - Static method in class com.tavianator.sangria.core.TypeLiterals
 
setOf(TypeLiteral<T>) - Static method in class com.tavianator.sangria.core.TypeLiterals
 

T

toContextSensitiveProvider(Class<? extends ContextSensitiveProvider<? extends T>>) - Method in interface com.tavianator.sangria.contextual.ContextSensitiveBindingBuilder
See the EDSL examples here.
toContextSensitiveProvider(TypeLiteral<? extends ContextSensitiveProvider<? extends T>>) - Method in interface com.tavianator.sangria.contextual.ContextSensitiveBindingBuilder
See the EDSL examples here.
toContextSensitiveProvider(Key<? extends ContextSensitiveProvider<? extends T>>) - Method in interface com.tavianator.sangria.contextual.ContextSensitiveBindingBuilder
See the EDSL examples here.
toContextSensitiveProvider(ContextSensitiveProvider<? extends T>) - Method in interface com.tavianator.sangria.contextual.ContextSensitiveBindingBuilder
See the EDSL examples here.
toString() - Method in class com.tavianator.sangria.core.PotentialAnnotation
 
toString() - Method in class com.tavianator.sangria.core.Priority
 
toString() - Method in class com.tavianator.sangria.listbinder.ListBinder
 
TypeLiterals - Class in com.tavianator.sangria.core
Static utility functions for working with TypeLiterals.

U

UniqueAnnotations - Class in com.tavianator.sangria.core
Re-implementation of Guice's internal UniqueAnnotations utility.

V

visit(ContextSensitiveProviderKeyBinding<? extends T>) - Method in interface com.tavianator.sangria.contextual.ContextSensitiveBindingVisitor
visit(ContextSensitiveProviderInstanceBinding<? extends T>) - Method in interface com.tavianator.sangria.contextual.ContextSensitiveBindingVisitor
visit(LazyBinding<? extends T>) - Method in interface com.tavianator.sangria.lazy.LazyBindingVisitor
Visit a LazyBinding.
visitAnnotationInstance(Annotation) - Method in interface com.tavianator.sangria.core.PotentialAnnotation.Visitor
Called when an annotation instance is stored.
visitAnnotationType(Class<? extends Annotation>) - Method in interface com.tavianator.sangria.core.PotentialAnnotation.Visitor
Called when an annotation type is stored.
visitNoAnnotation() - Method in interface com.tavianator.sangria.core.PotentialAnnotation.Visitor
Called when there is no annotation.

W

withDefaultPriority() - Method in interface com.tavianator.sangria.listbinder.ListBinderBuilder
 
withPriority(int, int...) - Method in interface com.tavianator.sangria.listbinder.ListBinderBuilder
 
A B C D E F G H I L M N P S T U V W 
Skip navigation links

Copyright © 2014–2015. All rights reserved.