- AbstractBindingBuilder<T> - Class in com.google.inject.internal
-
Bind a value or constant.
- AbstractBindingBuilder(Binder, List<Element>, Object, Key<T>) - Constructor for class com.google.inject.internal.AbstractBindingBuilder
-
- AbstractIterator<T> - Class in com.google.inject.internal.util
-
This class provides a skeletal implementation of the Iterator
interface, to make this interface easier to implement for certain types of
data sources.
- AbstractIterator() - Constructor for class com.google.inject.internal.util.AbstractIterator
-
- AbstractMapEntry<K,V> - Class in com.google.inject.internal.util
-
Implementation of the equals
, hashCode
, and toString
methods of Entry
.
- AbstractMapEntry() - Constructor for class com.google.inject.internal.util.AbstractMapEntry
-
- AbstractMatcher<T> - Class in com.google.inject.matcher
-
Implements and()
and or()
.
- AbstractMatcher() - Constructor for class com.google.inject.matcher.AbstractMatcher
-
- AbstractModule - Class in com.google.inject
-
A support class for
Module
s which reduces repetition and results in
a more readable configuration.
- AbstractModule() - Constructor for class com.google.inject.AbstractModule
-
- acceptExtensionVisitor(BindingTargetVisitor<B, V>, ProviderInstanceBinding<? extends B>) - Method in interface com.google.inject.spi.ProviderWithExtensionVisitor
-
Instructs the extension determine if the visitor is an instance of a custom
extension visitor, and if so, visit it using that method.
- acceptScopingVisitor(BindingScopingVisitor<V>) - Method in interface com.google.inject.Binding
-
Accepts a scoping visitor.
- acceptScopingVisitor(BindingScopingVisitor<V>) - Method in class com.google.inject.internal.BindingImpl
-
- acceptTargetVisitor(BindingTargetVisitor<? super T, V>) - Method in interface com.google.inject.Binding
-
Accepts a target visitor.
- acceptTargetVisitor(BindingTargetVisitor<? super T, V>) - Method in class com.google.inject.internal.ExposedBindingImpl
-
- acceptTargetVisitor(BindingTargetVisitor<? super T, V>) - Method in class com.google.inject.internal.LinkedBindingImpl
-
- acceptVisitor(ElementVisitor<V>) - Method in class com.google.inject.internal.BindingImpl
-
- acceptVisitor(ElementVisitor<T>) - Method in class com.google.inject.internal.PrivateElementsImpl
-
- acceptVisitor(BindingScopingVisitor<V>) - Method in class com.google.inject.internal.Scoping
-
- acceptVisitor(ElementVisitor<T>) - Method in class com.google.inject.spi.DisableCircularProxiesOption
-
- acceptVisitor(ElementVisitor<T>) - Method in interface com.google.inject.spi.Element
-
Accepts an element visitor.
- acceptVisitor(ElementVisitor<R>) - Method in class com.google.inject.spi.InjectionRequest
-
- acceptVisitor(ElementVisitor<T>) - Method in class com.google.inject.spi.InterceptorBinding
-
- acceptVisitor(ElementVisitor<T>) - Method in class com.google.inject.spi.MembersInjectorLookup
-
- acceptVisitor(ElementVisitor<T>) - Method in class com.google.inject.spi.Message
-
- acceptVisitor(ElementVisitor<T>) - Method in class com.google.inject.spi.ProviderLookup
-
- acceptVisitor(ElementVisitor<T>) - Method in class com.google.inject.spi.RequireExplicitBindingsOption
-
- acceptVisitor(ElementVisitor<T>) - Method in class com.google.inject.spi.ScopeBinding
-
- acceptVisitor(ElementVisitor<T>) - Method in class com.google.inject.spi.StaticInjectionRequest
-
- acceptVisitor(ElementVisitor<T>) - Method in class com.google.inject.spi.TypeConverterBinding
-
- acceptVisitor(ElementVisitor<T>) - Method in class com.google.inject.spi.TypeListenerBinding
-
- add(E) - Method in class com.google.inject.internal.util.ImmutableCollection
-
Guaranteed to throw an exception and leave the collection unmodified.
- add(int, E) - Method in class com.google.inject.internal.util.ImmutableList
-
Guaranteed to throw an exception and leave the list unmodified.
- add(E) - Method in class com.google.inject.internal.util.ImmutableList.Builder
-
Adds element
to the ImmutableList
.
- add(E) - Method in class com.google.inject.internal.util.ImmutableSet.Builder
-
Adds element
to the ImmutableSet
.
- add(E...) - Method in class com.google.inject.internal.util.ImmutableSet.Builder
-
Adds each element of elements
to the ImmutableSet
,
ignoring duplicate elements (only the first duplicate element is added).
- add(String, Object) - Method in class com.google.inject.internal.util.ToStringBuilder
-
- addAll(Collection<? extends E>) - Method in class com.google.inject.internal.util.ImmutableCollection
-
Guaranteed to throw an exception and leave the collection unmodified.
- addAll(int, Collection<? extends E>) - Method in class com.google.inject.internal.util.ImmutableList
-
Guaranteed to throw an exception and leave the list unmodified.
- addAll(Iterable<? extends E>) - Method in class com.google.inject.internal.util.ImmutableList.Builder
-
Adds each element of elements
to the ImmutableList
.
- addAll(Iterable<? extends E>) - Method in class com.google.inject.internal.util.ImmutableSet.Builder
-
Adds each element of elements
to the ImmutableSet
,
ignoring duplicate elements (only the first duplicate element is added).
- addAll(Iterator<? extends E>) - Method in class com.google.inject.internal.util.ImmutableSet.Builder
-
Adds each element of elements
to the ImmutableSet
,
ignoring duplicate elements (only the first duplicate element is added).
- addBinding(K) - Method in class com.google.inject.multibindings.MapBinder
-
Returns a binding builder used to add a new entry in the map.
- addBinding() - Method in class com.google.inject.multibindings.Multibinder
-
Returns a binding builder used to add a new element in the set.
- addEdge(GraphvizEdge) - Method in class com.google.inject.grapher.graphviz.GraphvizRenderer
-
- addError(String, Object...) - Method in class com.google.inject.AbstractModule
-
- addError(Throwable) - Method in class com.google.inject.AbstractModule
-
- addError(Message) - Method in class com.google.inject.AbstractModule
-
- addError(String, Object...) - Method in interface com.google.inject.Binder
-
Records an error message which will be presented to the user at a later
time.
- addError(Throwable) - Method in interface com.google.inject.Binder
-
Records an exception, the full details of which will be logged, and the
message of which will be presented to the user at a later
time.
- addError(Message) - Method in interface com.google.inject.Binder
-
Records an error message to be presented to the user at a later time.
- addError(String, Object...) - Method in class com.google.inject.PrivateModule
-
- addError(Throwable) - Method in class com.google.inject.PrivateModule
-
- addError(Message) - Method in class com.google.inject.PrivateModule
-
- addError(String, Object...) - Method in interface com.google.inject.spi.TypeEncounter
-
Records an error message for type I
which will be presented to the user at a later
time.
- addError(Throwable) - Method in interface com.google.inject.spi.TypeEncounter
-
Records an exception for type I
, the full details of which will be logged, and the
message of which will be presented to the user at a later time.
- addError(Message) - Method in interface com.google.inject.spi.TypeEncounter
-
Records an error message to be presented to the user at a later time.
- addExposureBuilder(ExposureBuilder<?>) - Method in class com.google.inject.internal.PrivateElementsImpl
-
- addField(String, String) - Method in class com.google.inject.grapher.graphviz.GraphvizNode
-
- addFinder(Class<T>) - Method in class com.google.inject.persist.jpa.JpaPersistModule
-
Adds an interface to this module to use as a dynamic finder.
- addMember(Member) - Method in class com.google.inject.grapher.graphviz.ImplementationNodeFactory.GraphvizNodeAdaptor
-
- addMember(Member) - Method in interface com.google.inject.grapher.ImplementationNode
-
- addMessage(String, Object...) - Method in class com.google.inject.internal.Errors
-
- addMessage(Message) - Method in class com.google.inject.internal.Errors
-
- addModules(Iterable<? extends Module>) - Method in class com.google.inject.internal.InternalInjectorCreator
-
- addNode(GraphvizNode) - Method in class com.google.inject.grapher.graphviz.GraphvizRenderer
-
- addSubtitle(int, String) - Method in class com.google.inject.grapher.graphviz.GraphvizNode
-
- afterInjection(I) - Method in interface com.google.inject.spi.InjectionListener
-
Invoked by Guice after it injects the fields and methods of instance.
- allowsNull(Annotation[]) - Static method in class com.google.inject.internal.Nullability
-
- ambiguousTypeConversion(String, Object, TypeLiteral<?>, TypeConverterBinding, TypeConverterBinding) - Method in class com.google.inject.internal.Errors
-
- and(BytecodeGen.Visibility) - Method in enum com.google.inject.internal.BytecodeGen.Visibility
-
- and(Matcher<? super T>) - Method in class com.google.inject.matcher.AbstractMatcher
-
- and(Matcher<? super T>) - Method in interface com.google.inject.matcher.Matcher
-
Returns a new matcher which returns true
if both this and the
given matcher return true
.
- AnnotatedBindingBuilder<T> - Interface in com.google.inject.binder
-
See the EDSL examples at
Binder
.
- AnnotatedConstantBindingBuilder - Interface in com.google.inject.binder
-
See the EDSL examples at
Binder
.
- AnnotatedElementBuilder - Interface in com.google.inject.binder
-
See the EDSL examples at
Binder
.
- annotatedWith(Class<? extends Annotation>) - Method in interface com.google.inject.binder.AnnotatedBindingBuilder
-
See the EDSL examples at
Binder
.
- annotatedWith(Annotation) - Method in interface com.google.inject.binder.AnnotatedBindingBuilder
-
See the EDSL examples at
Binder
.
- annotatedWith(Class<? extends Annotation>) - Method in interface com.google.inject.binder.AnnotatedConstantBindingBuilder
-
See the EDSL examples at
Binder
.
- annotatedWith(Annotation) - Method in interface com.google.inject.binder.AnnotatedConstantBindingBuilder
-
See the EDSL examples at
Binder
.
- annotatedWith(Class<? extends Annotation>) - Method in interface com.google.inject.binder.AnnotatedElementBuilder
-
See the EDSL examples at
Binder
.
- annotatedWith(Annotation) - Method in interface com.google.inject.binder.AnnotatedElementBuilder
-
See the EDSL examples at
Binder
.
- annotatedWith(Class<? extends Annotation>) - Method in class com.google.inject.internal.BindingBuilder
-
- annotatedWith(Annotation) - Method in class com.google.inject.internal.BindingBuilder
-
- annotatedWith(Class<? extends Annotation>) - Method in class com.google.inject.internal.ConstantBindingBuilderImpl
-
- annotatedWith(Annotation) - Method in class com.google.inject.internal.ConstantBindingBuilderImpl
-
- annotatedWith(Class<? extends Annotation>) - Method in class com.google.inject.internal.ExposureBuilder
-
- annotatedWith(Annotation) - Method in class com.google.inject.internal.ExposureBuilder
-
- annotatedWith(Class<? extends Annotation>) - Static method in class com.google.inject.matcher.Matchers
-
Returns a matcher which matches elements (methods, classes, etc.)
with a given annotation.
- annotatedWith(Annotation) - Static method in class com.google.inject.matcher.Matchers
-
Returns a matcher which matches elements (methods, classes, etc.)
with a given annotation.
- annotatedWith(Class<? extends Annotation>) - Method in class com.google.inject.throwingproviders.ThrowingProviderBinder.SecondaryBinder
-
- annotatedWith(Annotation) - Method in class com.google.inject.throwingproviders.ThrowingProviderBinder.SecondaryBinder
-
- annotatedWithInternal(Class<? extends Annotation>) - Method in class com.google.inject.internal.AbstractBindingBuilder
-
Sets the binding to a copy with the specified annotation on the bound key
- annotatedWithInternal(Annotation) - Method in class com.google.inject.internal.AbstractBindingBuilder
-
Sets the binding to a copy with the specified annotation on the bound key
- ANNOTATION_ALREADY_SPECIFIED - Static variable in class com.google.inject.internal.AbstractBindingBuilder
-
- Annotations - Class in com.google.inject.internal
-
Annotation utilities.
- Annotations() - Constructor for class com.google.inject.internal.Annotations
-
- any() - Static method in class com.google.inject.matcher.Matchers
-
Returns a matcher which matches any input.
- apply(F) - Method in interface com.google.inject.internal.util.Function
-
Applies the function to an object of type F
, resulting in an object
of type T
.
- applyTo(Binder) - Method in class com.google.inject.internal.ExposedBindingImpl
-
- applyTo(Binder) - Method in class com.google.inject.internal.LinkedBindingImpl
-
- applyTo(Binder) - Method in class com.google.inject.internal.PrivateElementsImpl
-
- applyTo(ScopedBindingBuilder) - Method in class com.google.inject.internal.Scoping
-
- applyTo(Binder) - Method in class com.google.inject.spi.DisableCircularProxiesOption
-
- applyTo(Binder) - Method in interface com.google.inject.spi.Element
-
Writes this module element to the given binder (optional operation).
- applyTo(Binder) - Method in interface com.google.inject.spi.ExposedBinding
-
Unsupported.
- applyTo(Binder) - Method in class com.google.inject.spi.InjectionRequest
-
- applyTo(Binder) - Method in class com.google.inject.spi.InterceptorBinding
-
- applyTo(Binder) - Method in class com.google.inject.spi.MembersInjectorLookup
-
- applyTo(Binder) - Method in class com.google.inject.spi.Message
-
- applyTo(Binder) - Method in class com.google.inject.spi.ProviderLookup
-
- applyTo(Binder) - Method in class com.google.inject.spi.RequireExplicitBindingsOption
-
- applyTo(Binder) - Method in class com.google.inject.spi.ScopeBinding
-
- applyTo(Binder) - Method in class com.google.inject.spi.StaticInjectionRequest
-
- applyTo(Binder) - Method in class com.google.inject.spi.TypeConverterBinding
-
- applyTo(Binder) - Method in class com.google.inject.spi.TypeListenerBinding
-
- arrayOf(Type) - Static method in class com.google.inject.util.Types
-
Returns an array type whose elements are all instances of
componentType
.
- ArrowType - Enum in com.google.inject.grapher.graphviz
-
Arrow symbols that are available from Graphviz.
- asEagerSingleton() - Method in interface com.google.inject.binder.ScopedBindingBuilder
-
Instructs the
Injector
to eagerly initialize this
singleton-scoped binding upon creation.
- asEagerSingleton() - Method in class com.google.inject.internal.AbstractBindingBuilder
-
- asEnumeration(Iterator<T>) - Static method in class com.google.inject.internal.util.Iterators
-
Adapts an Iterator
to the Enumeration
interface.
- Assisted - Annotation Type in com.google.inject.assistedinject
-
Annotates an injected parameter or field whose value comes from an argument to a factory method.
- AssistedInject - Annotation Type in com.google.inject.assistedinject
-
When used in tandem with
FactoryModuleBuilder
, constructors annotated with
@AssistedInject
indicate that multiple constructors can be injected, each with different
parameters.
- AssistedInjectBinding<T> - Interface in com.google.inject.assistedinject
-
A binding for a factory created by FactoryModuleBuilder.
- AssistedInjectTargetVisitor<T,V> - Interface in com.google.inject.assistedinject
-
A visitor for the AssistedInject extension.
- AssistedMethod - Interface in com.google.inject.assistedinject
-
Details about how a method in an assisted inject factory will be assisted.
- AsynchronousComputationException - Exception in com.google.inject.internal.util
-
Wraps an exception that occured during a computation in a different thread.
- AsynchronousComputationException(Throwable) - Constructor for exception com.google.inject.internal.util.AsynchronousComputationException
-
- cannotBindToGuiceType(String) - Method in class com.google.inject.internal.Errors
-
- cannotInjectAbstractMethod(Method) - Method in class com.google.inject.internal.Errors
-
- cannotInjectFinalField(Field) - Method in class com.google.inject.internal.Errors
-
- cannotInjectInnerClass(Class<?>) - Method in class com.google.inject.internal.Errors
-
- cannotInjectMethodWithTypeParameters(Method) - Method in class com.google.inject.internal.Errors
-
- cannotInjectNonVoidMethod(Method) - Method in class com.google.inject.internal.Errors
-
- cannotInjectRawMembersInjector() - Method in class com.google.inject.internal.Errors
-
- cannotInjectRawProvider() - Method in class com.google.inject.internal.Errors
-
- cannotInjectRawTypeLiteral() - Method in class com.google.inject.internal.Errors
-
- cannotInjectTypeLiteralOf(Type) - Method in class com.google.inject.internal.Errors
-
- cannotSatisfyCircularDependency(Class<?>) - Method in class com.google.inject.internal.Errors
-
- canonicalize(Type) - Static method in class com.google.inject.internal.MoreTypes
-
Returns a type that is functionally equal but not necessarily equal
according to
Object.equals()
.
- canonicalizeForKey(TypeLiteral<T>) - Static method in class com.google.inject.internal.MoreTypes
-
Returns an type that's appropriate for use in a key.
- canonicalizeIfNamed(Annotation) - Static method in class com.google.inject.internal.Annotations
-
If the annotation is an instance of javax.inject.Named
, canonicalizes to
com.google.guice.name.Named.
- canonicalizeIfNamed(Class<? extends Annotation>) - Static method in class com.google.inject.internal.Annotations
-
If the annotation is the class javax.inject.Named
, canonicalizes to
com.google.guice.name.Named.
- capitalize(String) - Static method in class com.google.inject.internal.util.Strings
-
- checkArgument(boolean) - Static method in class com.google.inject.internal.util.Preconditions
-
Ensures the truth of an expression involving one or more parameters to the
calling method.
- checkArgument(boolean, Object) - Static method in class com.google.inject.internal.util.Preconditions
-
Ensures the truth of an expression involving one or more parameters to the
calling method.
- checkArgument(boolean, String, Object...) - Static method in class com.google.inject.internal.util.Preconditions
-
Ensures the truth of an expression involving one or more parameters to the
calling method.
- checkContentsNotNull(T) - Static method in class com.google.inject.internal.util.Preconditions
-
Ensures that an Iterable
object passed as a parameter to the
calling method is not null and contains no null elements.
- checkContentsNotNull(T, Object) - Static method in class com.google.inject.internal.util.Preconditions
-
Ensures that an Iterable
object passed as a parameter to the
calling method is not null and contains no null elements.
- checkContentsNotNull(T, String, Object...) - Static method in class com.google.inject.internal.util.Preconditions
-
Ensures that an Iterable
object passed as a parameter to the
calling method is not null and contains no null elements.
- CheckedProvider<T> - Interface in com.google.inject.throwingproviders
-
Alternative to the Guice
Provider
that throws
a checked Exception.
- CheckedProvides - Annotation Type in com.google.inject.throwingproviders
-
Annotates methods of a
Module
to create a
CheckedProvider
method binding that can throw exceptions.
- checkElementIndex(int, int) - Static method in class com.google.inject.internal.util.Preconditions
-
Ensures that index
specifies a valid element in an array,
list or string of size size
.
- checkElementIndex(int, int, String) - Static method in class com.google.inject.internal.util.Preconditions
-
Ensures that index
specifies a valid element in an array,
list or string of size size
.
- checkForMisplacedScopeAnnotations(Class<?>, Object, Errors) - Static method in class com.google.inject.internal.Annotations
-
Adds an error if there is a misplaced annotations on type
.
- checkForNull(T, Object, Dependency<?>) - Method in class com.google.inject.internal.Errors
-
Returns value
if it is non-null allowed to be null.
- checkNotAnnotated() - Method in class com.google.inject.internal.AbstractBindingBuilder
-
- checkNotAnnotated() - Method in class com.google.inject.internal.ExposureBuilder
-
- checkNotNull(T) - Static method in class com.google.inject.internal.util.Preconditions
-
Ensures that an object reference passed as a parameter to the calling
method is not null.
- checkNotNull(T, Object) - Static method in class com.google.inject.internal.util.Preconditions
-
Ensures that an object reference passed as a parameter to the calling
method is not null.
- checkNotNull(T, String, Object...) - Static method in class com.google.inject.internal.util.Preconditions
-
Ensures that an object reference passed as a parameter to the calling
method is not null.
- checkNotScoped() - Method in class com.google.inject.internal.AbstractBindingBuilder
-
- checkNotTargetted() - Method in class com.google.inject.internal.AbstractBindingBuilder
-
- checkPositionIndex(int, int) - Static method in class com.google.inject.internal.util.Preconditions
-
Ensures that index
specifies a valid position in an array,
list or string of size size
.
- checkPositionIndex(int, int, String) - Static method in class com.google.inject.internal.util.Preconditions
-
Ensures that index
specifies a valid position in an array,
list or string of size size
.
- checkPositionIndexes(int, int, int) - Static method in class com.google.inject.internal.util.Preconditions
-
Ensures that start
and end
specify a valid positions
in an array, list or string of size size
, and are in order.
- checkState(boolean) - Static method in class com.google.inject.internal.util.Preconditions
-
Ensures the truth of an expression involving the state of the calling
instance, but not involving any parameters to the calling method.
- checkState(boolean, Object) - Static method in class com.google.inject.internal.util.Preconditions
-
Ensures the truth of an expression involving the state of the calling
instance, but not involving any parameters to the calling method.
- checkState(boolean, String, Object...) - Static method in class com.google.inject.internal.util.Preconditions
-
Ensures the truth of an expression involving the state of the calling
instance, but not involving any parameters to the calling method.
- childBindingAlreadySet(Key<?>) - Method in class com.google.inject.internal.Errors
-
- CircularDependencyProxy - Interface in com.google.inject.internal
-
- circularProxiesDisabled(Class<?>) - Method in class com.google.inject.internal.Errors
-
- Classes - Class in com.google.inject.internal.util
-
Class utilities.
- Classes() - Constructor for class com.google.inject.internal.util.Classes
-
- clear() - Method in class com.google.inject.internal.util.ImmutableCollection
-
Guaranteed to throw an exception and leave the collection unmodified.
- clear() - Method in class com.google.inject.internal.util.ImmutableMap
-
Guaranteed to throw an exception and leave the map unmodified.
- Collections2 - Class in com.google.inject.internal.util
-
Provides static methods for working with Collection
instances.
- com.google.inject - package com.google.inject
-
Google Guice (pronounced "juice") is an ultra-lightweight dependency
injection framework.
- com.google.inject.assistedinject - package com.google.inject.assistedinject
-
Extension for combining factory interfaces with injection; this extension requires guice-assistedinject-3.0.jar
.
- com.google.inject.binder - package com.google.inject.binder
-
Interfaces which make up
Binder
's
expression language.
- com.google.inject.grapher - package com.google.inject.grapher
-
- com.google.inject.grapher.graphviz - package com.google.inject.grapher.graphviz
-
- com.google.inject.internal - package com.google.inject.internal
-
Guice (sounds like like "juice")
- com.google.inject.internal.util - package com.google.inject.internal.util
-
- com.google.inject.jndi - package com.google.inject.jndi
-
JNDI integration; this extension requires guice-jndi-3.0.jar
.
- com.google.inject.matcher - package com.google.inject.matcher
-
Used for matching things.
- com.google.inject.multibindings - package com.google.inject.multibindings
-
Extension for binding multiple instances in a collection; this extension requires guice-multibindings-3.0.jar
.
- com.google.inject.name - package com.google.inject.name
-
Support for binding to string-based names.
- com.google.inject.persist - package com.google.inject.persist
-
Guice Persist: a lightweight persistence library for Guice; this extension requires guice-persist-3.0.jar
.
- com.google.inject.persist.finder - package com.google.inject.persist.finder
-
Dynamic Finder API for Guice Persist.
- com.google.inject.persist.jpa - package com.google.inject.persist.jpa
-
guice-persist's Java Persistence API (JPA) support.
- com.google.inject.servlet - package com.google.inject.servlet
-
Servlet API scopes, bindings and registration; this extension requires guice-servlet-3.0.jar
.
- com.google.inject.spi - package com.google.inject.spi
-
Guice service provider interface
- com.google.inject.spring - package com.google.inject.spring
-
Spring integration; this extension requires guice-spring-3.0.jar
.
- com.google.inject.throwingproviders - package com.google.inject.throwingproviders
-
Extension for injecting objects that may throw at provision time; this extension requires guice-throwingproviders-3.0.jar
.
- com.google.inject.tools.jmx - package com.google.inject.tools.jmx
-
JMX integration; this extension requires guice-jmx-3.0.jar
.
- com.google.inject.util - package com.google.inject.util
-
Helper methods for working with Guice.
- combine(Module...) - Static method in class com.google.inject.util.Modules
-
Returns a new module that installs all of modules
.
- combine(Iterable<? extends Module>) - Static method in class com.google.inject.util.Modules
-
Returns a new module that installs all of modules
.
- CompassPoint - Enum in com.google.inject.grapher.graphviz
-
Enum for the "compass point" values used to control where edge
end points appear on the graph.
- ComputationException - Exception in com.google.inject.internal.util
-
Wraps an exception that occured during a computation.
- ComputationException(Throwable) - Constructor for exception com.google.inject.internal.util.ComputationException
-
- computeNext() - Method in class com.google.inject.internal.util.AbstractIterator
-
Returns the next element.
- concat(Iterable<? extends T>, Iterable<? extends T>) - Static method in class com.google.inject.internal.util.Iterables
-
Combines two iterables into a single iterable.
- concat(Iterable<? extends Iterable<? extends T>>) - Static method in class com.google.inject.internal.util.Iterables
-
Combines multiple iterables into a single iterable.
- concat(Iterator<? extends Iterator<? extends T>>) - Static method in class com.google.inject.internal.util.Iterators
-
Combines multiple iterators into a single iterator.
- concurrencyLevel(int) - Method in class com.google.inject.internal.util.MapMaker
-
Guides the allowed concurrency among update operations.
- ConfigurationException - Exception in com.google.inject
-
Thrown when a programming error such as a misplaced annotation, illegal binding, or unsupported
scope is found.
- ConfigurationException(Iterable<Message>) - Constructor for exception com.google.inject.ConfigurationException
-
Creates a ConfigurationException containing messages
.
- configure(Binder) - Method in class com.google.inject.AbstractModule
-
- configure() - Method in class com.google.inject.AbstractModule
-
Configures a
Binder
via the exposed methods.
- configure() - Method in class com.google.inject.grapher.GrapherModule
-
- configure() - Method in class com.google.inject.grapher.graphviz.GraphvizModule
-
- configure(Binder) - Method in class com.google.inject.internal.ProviderMethod
-
- configure(Binder) - Method in class com.google.inject.internal.ProviderMethodsModule
-
- configure(Binder) - Method in interface com.google.inject.Module
-
Contributes bindings and other configurations for this module to binder
.
- configure() - Method in class com.google.inject.persist.PersistModule
-
- configure(Binder) - Method in class com.google.inject.PrivateModule
-
- configure() - Method in class com.google.inject.PrivateModule
-
Creates bindings and other configurations private to this module.
- configure() - Method in class com.google.inject.servlet.ServletModule
-
- configurePersistence() - Method in class com.google.inject.persist.jpa.JpaPersistModule
-
- configurePersistence() - Method in class com.google.inject.persist.PersistModule
-
- configureServlets() - Method in class com.google.inject.servlet.ServletModule
-
Servlet Mapping EDSL
- CONSTANT_VALUE_ALREADY_SET - Static variable in class com.google.inject.internal.AbstractBindingBuilder
-
- ConstantBindingBuilder - Interface in com.google.inject.binder
-
Binds to a constant value.
- ConstantBindingBuilderImpl<T> - Class in com.google.inject.internal
-
Bind a constant.
- ConstantBindingBuilderImpl(Binder, List<Element>, Object) - Constructor for class com.google.inject.internal.ConstantBindingBuilderImpl
-
- ConstructorBinding<T> - Interface in com.google.inject.spi
-
A binding to the constructor of a concrete clss.
- constructorNotDefinedByType(Constructor<?>, TypeLiteral<?>) - Method in class com.google.inject.internal.Errors
-
- contains(Object) - Method in class com.google.inject.internal.util.ImmutableCollection
-
- containsAll(Collection<?>) - Method in class com.google.inject.internal.util.ImmutableCollection
-
- containsElement(Element) - Method in interface com.google.inject.multibindings.MapBinderBinding
-
Returns true if this MapBinder contains the given Element in order to build the map or uses the
given Element in order to support building and injecting the map.
- containsElement(Element) - Method in interface com.google.inject.multibindings.MultibinderBinding
-
Returns true if this Multibinder uses the given Element.
- containsKey(Object) - Method in class com.google.inject.internal.util.ImmutableMap
-
- containsValue(Object) - Method in class com.google.inject.internal.util.ImmutableMap
-
- contextDestroyed(ServletContextEvent) - Method in class com.google.inject.servlet.GuiceServletContextListener
-
- contextInitialized(ServletContextEvent) - Method in class com.google.inject.servlet.GuiceServletContextListener
-
- continueRequest(Callable<T>, Map<Key<?>, Object>) - Static method in class com.google.inject.servlet.ServletScopes
-
Wraps the given callable in a contextual callable that "continues" the
HTTP request in another thread.
- conversionError(String, Object, TypeLiteral<?>, TypeConverterBinding, RuntimeException) - Method in class com.google.inject.internal.Errors
-
- conversionTypeError(String, Object, TypeLiteral<?>, TypeConverterBinding, Object) - Method in class com.google.inject.internal.Errors
-
- convert(Object) - Static method in class com.google.inject.internal.Errors
-
- convert(String, TypeLiteral<?>) - Method in interface com.google.inject.spi.TypeConverter
-
Converts a string value.
- ConvertedConstantBinding<T> - Interface in com.google.inject.spi
-
A binding created from converting a bound instance to a new type.
- converterReturnedNull(String, Object, TypeLiteral<?>, TypeConverterBinding) - Method in class com.google.inject.internal.Errors
-
- convertToTypes(Matcher<? super TypeLiteral<?>>, TypeConverter) - Method in class com.google.inject.AbstractModule
-
- convertToTypes(Matcher<? super TypeLiteral<?>>, TypeConverter) - Method in interface com.google.inject.Binder
-
Binds a type converter.
- convertToTypes(Matcher<? super TypeLiteral<?>>, TypeConverter) - Method in class com.google.inject.PrivateModule
-
- copyOf(Iterable<? extends E>) - Static method in class com.google.inject.internal.util.ImmutableList
-
Returns an immutable list containing the given elements, in order.
- copyOf(Iterator<? extends E>) - Static method in class com.google.inject.internal.util.ImmutableList
-
Returns an immutable list containing the given elements, in order.
- copyOf(Map<? extends K, ? extends V>) - Static method in class com.google.inject.internal.util.ImmutableMap
-
Returns an immutable map containing the same entries as map
.
- copyOf(Iterable<? extends E>) - Static method in class com.google.inject.internal.util.ImmutableSet
-
Returns an immutable set containing the given elements, in order.
- copyOf(Iterator<? extends E>) - Static method in class com.google.inject.internal.util.ImmutableSet
-
Returns an immutable set containing the given elements, in order.
- create(K, Errors) - Method in class com.google.inject.internal.FailableCache
-
- create() - Static method in class com.google.inject.internal.UniqueAnnotations
-
Returns an annotation instance that is not equal to any other annotation
instances, for use in creating distinct
Key
s.
- create(Binder) - Static method in class com.google.inject.throwingproviders.ThrowingProviderBinder
-
- createChildInjector(Iterable<? extends Module>) - Method in interface com.google.inject.Injector
-
Returns a new injector that inherits all state from this injector.
- createChildInjector(Module...) - Method in interface com.google.inject.Injector
-
Returns a new injector that inherits all state from this injector.
- createInjector(Module...) - Static method in class com.google.inject.Guice
-
Creates an injector for the given set of modules.
- createInjector(Iterable<? extends Module>) - Static method in class com.google.inject.Guice
-
Creates an injector for the given set of modules.
- createInjector(Stage, Module...) - Static method in class com.google.inject.Guice
-
Creates an injector for the given set of modules, in a given development
stage.
- createInjector(Stage, Iterable<? extends Module>) - Static method in class com.google.inject.Guice
-
Creates an injector for the given set of modules, in a given development
stage.
- CreationException - Exception in com.google.inject
-
Thrown when errors occur while creating a
Injector
.
- CreationException(Collection<Message>) - Constructor for exception com.google.inject.CreationException
-
Creates a CreationException containing messages
.
- currentStage() - Method in class com.google.inject.AbstractModule
-
- currentStage() - Method in interface com.google.inject.Binder
-
Gets the current stage.
- currentStage() - Method in class com.google.inject.PrivateModule
-
- FactoryModuleBuilder - Class in com.google.inject.assistedinject
-
Provides a factory that combines the caller's arguments with injector-supplied values to
construct objects.
- FactoryModuleBuilder() - Constructor for class com.google.inject.assistedinject.FactoryModuleBuilder
-
- FactoryProvider<F> - Class in com.google.inject.assistedinject
-
- FailableCache<K,V> - Class in com.google.inject.internal
-
Lazily creates (and caches) values for keys.
- FailableCache() - Constructor for class com.google.inject.internal.FailableCache
-
- filter(String, String...) - Method in class com.google.inject.servlet.ServletModule
-
- filterRegex(String, String...) - Method in class com.google.inject.servlet.ServletModule
-
- FinalizablePhantomReference<T> - Class in com.google.inject.internal.util
-
Phantom reference with a finalizeReferent()
method which a
background thread invokes after the garbage collector reclaims the
referent.
- FinalizablePhantomReference(T, FinalizableReferenceQueue) - Constructor for class com.google.inject.internal.util.FinalizablePhantomReference
-
Constructs a new finalizable phantom reference.
- FinalizableReference - Interface in com.google.inject.internal.util
-
Implemented by references that have code to run after garbage collection of
their referents.
- FinalizableReferenceQueue - Class in com.google.inject.internal.util
-
- FinalizableReferenceQueue() - Constructor for class com.google.inject.internal.util.FinalizableReferenceQueue
-
Constructs a new queue.
- FinalizableSoftReference<T> - Class in com.google.inject.internal.util
-
Soft reference with a finalizeReferent()
method which a background
thread invokes after the garbage collector reclaims the referent.
- FinalizableSoftReference(T, FinalizableReferenceQueue) - Constructor for class com.google.inject.internal.util.FinalizableSoftReference
-
Consructs a new finalizable soft reference.
- FinalizableWeakReference<T> - Class in com.google.inject.internal.util
-
Weak reference with a finalizeReferent()
method which a background
thread invokes after the garbage collector reclaims the referent.
- FinalizableWeakReference(T, FinalizableReferenceQueue) - Constructor for class com.google.inject.internal.util.FinalizableWeakReference
-
Consructs a new finalizable weak reference.
- Finalizer - Class in com.google.inject.internal.util
-
Thread that finalizes referents.
- finalizeReferent() - Method in interface com.google.inject.internal.util.FinalizableReference
-
Invoked on a background thread after the referent has been garbage
collected unless security restictions prevented starting a background
thread, in which case this method is invoked when new references
are created.
- findBindingAnnotation(Errors, Member, Annotation[]) - Static method in class com.google.inject.internal.Annotations
-
Returns the binding annotation on member
, or null if there isn't one.
- findBindingsByType(TypeLiteral<T>) - Method in interface com.google.inject.Injector
-
Returns all explicit bindings for type
.
- Finder - Annotation Type in com.google.inject.persist.finder
-
Marks a method stub as a dynamic finder.
- findScopeAnnotation(Errors, Class<?>) - Static method in class com.google.inject.internal.Annotations
-
Returns the scope annotation on type
, or null if none is specified.
- findScopeAnnotation(Errors, Annotation[]) - Static method in class com.google.inject.internal.Annotations
-
Returns the scoping annotation, or null if there isn't one.
- finish() - Method in class com.google.inject.grapher.graphviz.GraphvizRenderer
-
- FirstResult - Annotation Type in com.google.inject.persist.finder
-
Annotate any dynamic finder method's integer argument with this to pass in
the index of the first result in the result set you are interested in.
- forAnnotation(Class<? extends Annotation>) - Static method in class com.google.inject.internal.Scoping
-
- forArray(T...) - Static method in class com.google.inject.internal.util.Iterators
-
Returns an iterator containing the elements of array
in order.
- forArray(T[], int, int) - Static method in class com.google.inject.internal.util.Iterators
-
Returns an iterator containing the elements in the specified range of
array
in order.
- forConstructor(Constructor<T>) - Static method in class com.google.inject.spi.InjectionPoint
-
Returns a new injection point for the specified constructor.
- forConstructor(Constructor<T>, TypeLiteral<? extends T>) - Static method in class com.google.inject.spi.InjectionPoint
-
Returns a new injection point for the specified constructor of type
.
- forConstructorOf(TypeLiteral<?>) - Static method in class com.google.inject.spi.InjectionPoint
-
Returns a new injection point for the injectable constructor of type
.
- forConstructorOf(Class<?>) - Static method in class com.google.inject.spi.InjectionPoint
-
Returns a new injection point for the injectable constructor of type
.
- forInjectionPoints(Set<InjectionPoint>) - Static method in class com.google.inject.spi.Dependency
-
Returns the dependencies from the given injection points.
- forInstance(Scope) - Static method in class com.google.inject.internal.Scoping
-
- forInstanceMethodsAndFields(TypeLiteral<?>) - Static method in class com.google.inject.spi.InjectionPoint
-
Returns all instance method and field injection points on type
.
- forInstanceMethodsAndFields(Class<?>) - Static method in class com.google.inject.spi.InjectionPoint
-
Returns all instance method and field injection points on type
.
- format(String, Object...) - Static method in class com.google.inject.internal.Errors
-
- format(String, Collection<Message>) - Static method in class com.google.inject.internal.Errors
-
Returns the formatted message for an exception with the specified messages.
- formatInjectionPoint(Formatter, Dependency<?>, InjectionPoint) - Static method in class com.google.inject.internal.Errors
-
- formatSource(Formatter, Object) - Static method in class com.google.inject.internal.Errors
-
- forMember(Member) - Static method in enum com.google.inject.internal.BytecodeGen.Visibility
-
- forMember(Member) - Static method in class com.google.inject.internal.util.StackTraceElements
-
- forModule(Module) - Static method in class com.google.inject.internal.ProviderMethodsModule
-
Returns a module which creates bindings for provider methods from the given module.
- forModule(Module) - Static method in class com.google.inject.throwingproviders.ThrowingProviderBinder
-
- forObject(Object) - Static method in class com.google.inject.internal.ProviderMethodsModule
-
Returns a module which creates bindings for provider methods from the given object.
- forStaticMethodsAndFields(TypeLiteral<?>) - Static method in class com.google.inject.spi.InjectionPoint
-
Returns all static method and field injection points on type
.
- forStaticMethodsAndFields(Class<?>) - Static method in class com.google.inject.spi.InjectionPoint
-
Returns all static method and field injection points on type
.
- forType(Class<?>) - Static method in enum com.google.inject.internal.BytecodeGen.Visibility
-
- forType(Class<?>) - Static method in class com.google.inject.internal.util.StackTraceElements
-
- from(Method) - Static method in class com.google.inject.persist.finder.DynamicFinder
-
Returns some metadata if the method is annotated @Finder
or null.
- fromJndi(Class<T>, String) - Static method in class com.google.inject.jndi.JndiIntegration
-
Creates a provider which looks up objects in JNDI using the given name.
- fromSpring(Class<T>, String) - Static method in class com.google.inject.spring.SpringIntegration
-
Creates a provider which looks up objects from Spring using the given name.
- Function<F,T> - Interface in com.google.inject.internal.util
-
A transformation from one object to another.
- get() - Method in class com.google.inject.assistedinject.FactoryProvider
-
Deprecated.
- get(K, Errors) - Method in class com.google.inject.internal.FailableCache
-
- get() - Method in class com.google.inject.internal.ProviderMethod
-
- get(Object) - Method in class com.google.inject.internal.util.ImmutableMap
-
- get() - Method in class com.google.inject.internal.util.SourceProvider
-
Returns the calling line of code.
- get(Class<T>) - Static method in class com.google.inject.Key
-
Gets a key for an injection type.
- get(Class<T>, Class<? extends Annotation>) - Static method in class com.google.inject.Key
-
Gets a key for an injection type and an annotation type.
- get(Class<T>, Annotation) - Static method in class com.google.inject.Key
-
Gets a key for an injection type and an annotation.
- get(Type) - Static method in class com.google.inject.Key
-
Gets a key for an injection type.
- get(Type, Class<? extends Annotation>) - Static method in class com.google.inject.Key
-
Gets a key for an injection type and an annotation type.
- get(Type, Annotation) - Static method in class com.google.inject.Key
-
Gets a key for an injection type and an annotation.
- get(TypeLiteral<T>) - Static method in class com.google.inject.Key
-
Gets a key for an injection type.
- get(TypeLiteral<T>, Class<? extends Annotation>) - Static method in class com.google.inject.Key
-
Gets a key for an injection type and an annotation type.
- get(TypeLiteral<T>, Annotation) - Static method in class com.google.inject.Key
-
Gets a key for an injection type and an annotation.
- get() - Method in interface com.google.inject.Provider
-
Provides an instance of T
.
- get(Key<T>) - Static method in class com.google.inject.spi.Dependency
-
Returns a new dependency that is not attached to an injection point.
- get() - Method in interface com.google.inject.throwingproviders.CheckedProvider
-
- get() - Method in interface com.google.inject.throwingproviders.ThrowingProvider
-
Deprecated.
- get(Type) - Static method in class com.google.inject.TypeLiteral
-
Gets type literal for the given Type
instance.
- get(Class<T>) - Static method in class com.google.inject.TypeLiteral
-
Gets type literal for the given Class
instance.
- getActualTypeArguments() - Method in class com.google.inject.internal.MoreTypes.ParameterizedTypeImpl
-
- getAllBindings() - Method in interface com.google.inject.Injector
-
Returns a snapshot of this injector's bindings, both explicit and
just-in-time.
- getAnnotation() - Method in class com.google.inject.Key
-
Gets the annotation.
- getAnnotationName(Key<?>) - Method in interface com.google.inject.grapher.NameFactory
-
- getAnnotationName(Key<?>) - Method in class com.google.inject.grapher.ShortNameFactory
-
- getAnnotationType() - Method in class com.google.inject.Key
-
Gets the annotation type.
- getAnnotationType() - Method in class com.google.inject.spi.ScopeBinding
-
- getArrowHead() - Method in class com.google.inject.grapher.graphviz.GraphvizEdge
-
- getArrowString(List<ArrowType>) - Method in class com.google.inject.grapher.graphviz.GraphvizRenderer
-
- getArrowTail() - Method in class com.google.inject.grapher.graphviz.GraphvizEdge
-
- getAssistedMethods() - Method in interface com.google.inject.assistedinject.AssistedInjectBinding
-
- getBinding(Key<T>) - Method in interface com.google.inject.Injector
-
Returns the binding for the given injection key.
- getBinding(Class<T>) - Method in interface com.google.inject.Injector
-
Returns the binding for the given type.
- getBinding() - Method in class com.google.inject.internal.AbstractBindingBuilder
-
- getBindings() - Method in interface com.google.inject.Injector
-
Returns this injector's explicit bindings.
- getCause() - Method in class com.google.inject.spi.Message
-
Returns the throwable that caused this message, or null
if this
message was not caused by a throwable.
- getClassLoader(Class<?>) - Static method in class com.google.inject.internal.BytecodeGen
-
Returns the class loader to host generated classes for type
.
- getClassMatcher() - Method in class com.google.inject.spi.InterceptorBinding
-
- getClassName(Key<?>) - Method in interface com.google.inject.grapher.NameFactory
-
- getClassName(Key<?>) - Method in class com.google.inject.grapher.ShortNameFactory
-
- getClassNodeId(Binding<?>) - Method in class com.google.inject.grapher.GraphingVisitor
-
Helper method to return the standard node ID for the
Binding
's
Key
.
- getClassNodeId(Key<?>) - Method in interface com.google.inject.grapher.NodeIdFactory
-
- getClassNodeId(Key<?>) - Method in class com.google.inject.grapher.StringNodeIdFactory
-
- getConstructor() - Method in interface com.google.inject.spi.ConstructorBinding
-
Gets the constructor this binding injects.
- getDeclaringType() - Method in class com.google.inject.spi.InjectionPoint
-
Returns the generic type that defines this injection point.
- getDelegate() - Method in class com.google.inject.spi.MembersInjectorLookup
-
Returns the delegate members injector, or null
if it has not yet been initialized.
- getDelegate() - Method in class com.google.inject.spi.ProviderLookup
-
Returns the delegate provider, or null
if it has not yet been initialized.
- getDependencies() - Method in interface com.google.inject.assistedinject.AssistedMethod
-
Returns all non-assisted dependencies required to construct and inject
the implementation.
- getDependencies() - Method in class com.google.inject.assistedinject.FactoryProvider
-
Deprecated.
- getDependencies() - Method in class com.google.inject.internal.ExposedBindingImpl
-
- getDependencies() - Method in class com.google.inject.internal.LinkedBindingImpl
-
- getDependencies() - Method in class com.google.inject.internal.ProviderMethod
-
- getDependencies() - Method in interface com.google.inject.spi.ConvertedConstantBinding
-
Returns a singleton set containing only the converted key.
- getDependencies() - Method in interface com.google.inject.spi.HasDependencies
-
Returns the known dependencies for this type.
- getDependencies() - Method in class com.google.inject.spi.InjectionPoint
-
Returns the dependencies for this injection point.
- getEdgeAttributes(GraphvizEdge) - Method in class com.google.inject.grapher.graphviz.GraphvizRenderer
-
- getEdgeEndPoint(String, String, CompassPoint) - Method in class com.google.inject.grapher.graphviz.GraphvizRenderer
-
- getElements() - Method in class com.google.inject.internal.PrivateElementsImpl
-
- getElements() - Method in interface com.google.inject.multibindings.MultibinderBinding
-
Returns all bindings that make up the set.
- getElements(Module...) - Static method in class com.google.inject.spi.Elements
-
Records the elements executed by modules
.
- getElements(Stage, Module...) - Static method in class com.google.inject.spi.Elements
-
Records the elements executed by modules
.
- getElements(Iterable<? extends Module>) - Static method in class com.google.inject.spi.Elements
-
Records the elements executed by modules
.
- getElements(Stage, Iterable<? extends Module>) - Static method in class com.google.inject.spi.Elements
-
Records the elements executed by modules
.
- getElements() - Method in interface com.google.inject.spi.PrivateElements
-
Returns the configuration information in this private environment.
- getElementsMutable() - Method in class com.google.inject.internal.PrivateElementsImpl
-
- getElementTypeLiteral() - Method in interface com.google.inject.multibindings.MultibinderBinding
-
Returns the TypeLiteral that describes the type of elements in the set.
- getEntries() - Method in interface com.google.inject.multibindings.MapBinderBinding
-
Returns all entries in the Map.
- getErrorMessages() - Method in exception com.google.inject.ConfigurationException
-
Returns messages for the errors that caused this exception.
- getErrorMessages() - Method in exception com.google.inject.CreationException
-
Returns messages for the errors that caused this exception.
- getErrorMessages() - Method in exception com.google.inject.ProvisionException
-
Returns messages for the errors that caused this exception.
- getErrors() - Method in exception com.google.inject.internal.ErrorsException
-
- getExceptionTypes(Member) - Method in class com.google.inject.TypeLiteral
-
Returns the resolved generic exception types thrown by constructor
.
- getExistingBinding(Key<T>) - Method in interface com.google.inject.Injector
-
Returns the binding if it already exists, or null if does not exist.
- getExposedKeys() - Method in class com.google.inject.internal.PrivateElementsImpl
-
- getExposedKeys() - Method in interface com.google.inject.spi.PrivateElements
-
Returns the unique exposed keys for these private elements.
- getExposedSource(Key<?>) - Method in class com.google.inject.internal.PrivateElementsImpl
-
- getExposedSource(Key<?>) - Method in interface com.google.inject.spi.PrivateElements
-
Returns an arbitrary object containing information about the "place" where this key was
exposed.
- getFactoryMethod() - Method in interface com.google.inject.assistedinject.AssistedMethod
-
Returns the factory method that is being assisted.
- getFields() - Method in class com.google.inject.grapher.graphviz.GraphvizNode
-
- getFieldType(Field) - Method in class com.google.inject.TypeLiteral
-
Returns the resolved generic type of field
.
- getFileString(StackTraceElement) - Method in class com.google.inject.grapher.ShortNameFactory
-
- getFilterInstance() - Method in interface com.google.inject.servlet.InstanceFilterBinding
-
Returns the filter instance that will be used.
- getGenericComponentType() - Method in class com.google.inject.internal.MoreTypes.GenericArrayTypeImpl
-
- getGenericSupertype(Type, Class<?>, Class<?>) - Static method in class com.google.inject.internal.MoreTypes
-
Returns the generic supertype for supertype
.
- getGraphAttributes() - Method in class com.google.inject.grapher.graphviz.GraphvizRenderer
-
- getHeadCompassPoint() - Method in class com.google.inject.grapher.graphviz.GraphvizEdge
-
- getHeaderBackgroundColor() - Method in class com.google.inject.grapher.graphviz.GraphvizNode
-
- getHeaderTextColor() - Method in class com.google.inject.grapher.graphviz.GraphvizNode
-
- getHeadNodeId() - Method in class com.google.inject.grapher.graphviz.GraphvizEdge
-
- getHeadPortId() - Method in class com.google.inject.grapher.graphviz.GraphvizEdge
-
- getImplementationConstructor() - Method in interface com.google.inject.assistedinject.AssistedMethod
-
Returns the constructor that will be used to construct instances of the
implementation.
- getImplementationType() - Method in interface com.google.inject.assistedinject.AssistedMethod
-
Returns the implementation type that will be created when the method is
used.
- getInitParams() - Method in interface com.google.inject.servlet.ServletModuleBinding
-
Returns any context params supplied when creating the binding.
- getInjectableMembers() - Method in interface com.google.inject.spi.ConstructorBinding
-
Returns all instance method and field injection points on type
.
- getInjectionPoint() - Method in class com.google.inject.spi.Dependency
-
Returns the injection point to which this dependency belongs, or null if this dependency isn't
attached to a particular injection point.
- getInjectionPoints() - Method in class com.google.inject.spi.InjectionRequest
-
Returns the instance methods and fields of instance
that will be injected to fulfill
this request.
- getInjectionPoints() - Method in interface com.google.inject.spi.InstanceBinding
-
Returns the field and method injection points of the instance, injected at injector-creation
time only.
- getInjectionPoints() - Method in interface com.google.inject.spi.ProviderInstanceBinding
-
Returns the field and method injection points of the provider, injected at injector-creation
time only.
- getInjectionPoints() - Method in class com.google.inject.spi.StaticInjectionRequest
-
Returns the static methods and fields of type
that will be injected to fulfill this
request.
- getInjector() - Method in class com.google.inject.internal.BindingImpl
-
- getInjector() - Method in class com.google.inject.internal.PrivateElementsImpl
-
- getInjector() - Method in class com.google.inject.servlet.GuiceServletContextListener
-
Override this method to create (or otherwise obtain a reference to) your
injector.
- getInjector() - Method in interface com.google.inject.spi.PrivateElements
-
Returns the child injector that hosts these private elements, or null if the elements haven't
been used to create an injector.
- getInstance(Key<T>) - Method in interface com.google.inject.Injector
-
Returns the appropriate instance for the given injection key; equivalent to getProvider(key).get()
.
- getInstance(Class<T>) - Method in interface com.google.inject.Injector
-
Returns the appropriate instance for the given injection type; equivalent to getProvider(type).get()
.
- getInstance() - Method in class com.google.inject.internal.ProviderMethod
-
- getInstance() - Method in class com.google.inject.spi.InjectionRequest
-
- getInstance() - Method in interface com.google.inject.spi.InstanceBinding
-
Returns the user-supplied instance.
- getInstanceName(Object) - Method in interface com.google.inject.grapher.NameFactory
-
- getInstanceName(Object) - Method in class com.google.inject.grapher.ShortNameFactory
-
- getInstanceNodeId(Binding<?>) - Method in class com.google.inject.grapher.GraphingVisitor
-
Helper method to return the instance node ID for the
Binding
's
Key
.
- getInstanceNodeId(Key<?>) - Method in interface com.google.inject.grapher.NodeIdFactory
-
- getInstanceNodeId(Key<?>) - Method in class com.google.inject.grapher.StringNodeIdFactory
-
- getInterceptors() - Method in class com.google.inject.spi.InterceptorBinding
-
- getInternalFactory() - Method in class com.google.inject.internal.BindingImpl
-
- getKey() - Method in interface com.google.inject.assistedinject.AssistedInjectBinding
-
Returns the
Key
for the factory binding.
- getKey() - Method in interface com.google.inject.Binding
-
Returns the key for this binding.
- getKey(TypeLiteral<?>, Member, Annotation[], Errors) - Static method in class com.google.inject.internal.Annotations
-
Gets a key for the given type, member and annotations.
- getKey() - Method in class com.google.inject.internal.BindingImpl
-
- getKey() - Method in class com.google.inject.internal.ExposureBuilder
-
- getKey() - Method in class com.google.inject.internal.ProviderMethod
-
- getKey() - Method in class com.google.inject.internal.util.AbstractMapEntry
-
- getKey() - Method in class com.google.inject.spi.Dependency
-
Returns the key to the binding that satisfies this dependency.
- getKey() - Method in class com.google.inject.spi.ProviderLookup
-
- getKey() - Method in interface com.google.inject.tools.jmx.ManagedBindingMBean
-
Gets the binding key.
- getKeyTypeLiteral() - Method in interface com.google.inject.multibindings.MapBinderBinding
-
Returns the TypeLiteral describing the keys of the map.
- getLinkedKey() - Method in class com.google.inject.internal.LinkedBindingImpl
-
- getLinkedKey() - Method in interface com.google.inject.servlet.LinkedFilterBinding
-
Returns the key used to lookup the filter instance.
- getLinkedKey() - Method in interface com.google.inject.servlet.LinkedServletBinding
-
Returns the key used to lookup the servlet instance.
- getLinkedKey() - Method in interface com.google.inject.spi.LinkedKeyBinding
-
Returns the linked key used to resolve injections.
- getListener() - Method in class com.google.inject.spi.TypeListenerBinding
-
Returns the registered listener.
- getLowerBounds() - Method in class com.google.inject.internal.MoreTypes.WildcardTypeImpl
-
- getMapKey() - Method in interface com.google.inject.multibindings.MapBinderBinding
-
Returns the
Key
for the map.
- getMember() - Method in class com.google.inject.spi.InjectionPoint
-
Returns the injected constructor, field, or method.
- getMemberName(Member) - Method in interface com.google.inject.grapher.NameFactory
-
- getMemberName(Member) - Method in class com.google.inject.grapher.ShortNameFactory
-
- getMembersInjector(Class<T>) - Method in class com.google.inject.AbstractModule
-
- getMembersInjector(TypeLiteral<T>) - Method in class com.google.inject.AbstractModule
-
- getMembersInjector(TypeLiteral<T>) - Method in interface com.google.inject.Binder
-
Returns the members injector used to inject dependencies into methods and fields on instances
of the given type T
.
- getMembersInjector(Class<T>) - Method in interface com.google.inject.Binder
-
Returns the members injector used to inject dependencies into methods and fields on instances
of the given type T
.
- getMembersInjector(TypeLiteral<T>) - Method in interface com.google.inject.Injector
-
Returns the members injector used to inject dependencies into methods and fields on instances
of the given type T
.
- getMembersInjector(Class<T>) - Method in interface com.google.inject.Injector
-
Returns the members injector used to inject dependencies into methods and fields on instances
of the given type T
.
- getMembersInjector(Class<T>) - Method in class com.google.inject.PrivateModule
-
- getMembersInjector(TypeLiteral<T>) - Method in class com.google.inject.PrivateModule
-
- getMembersInjector() - Method in class com.google.inject.spi.MembersInjectorLookup
-
Returns the looked up members injector.
- getMembersInjector(TypeLiteral<T>) - Method in interface com.google.inject.spi.TypeEncounter
-
Returns the members injector used to inject dependencies into methods and fields on instances
of the given type T
.
- getMembersInjector(Class<T>) - Method in interface com.google.inject.spi.TypeEncounter
-
Returns the members injector used to inject dependencies into methods and fields on instances
of the given type T
.
- getMessage() - Method in exception com.google.inject.ConfigurationException
-
- getMessage() - Method in exception com.google.inject.CreationException
-
- getMessage() - Method in exception com.google.inject.ProvisionException
-
- getMessage() - Method in class com.google.inject.spi.Message
-
Gets the error message text.
- getMessages() - Method in class com.google.inject.internal.Errors
-
- getMessagesFromThrowable(Throwable) - Static method in class com.google.inject.internal.Errors
-
- getMethod() - Method in class com.google.inject.internal.ProviderMethod
-
- getMethodInterceptors() - Method in interface com.google.inject.spi.ConstructorBinding
-
Returns the interceptors applied to each method, in the order that they will be applied.
- getMethodMatcher() - Method in class com.google.inject.spi.InterceptorBinding
-
- getMethodString(Method) - Method in class com.google.inject.grapher.ShortNameFactory
-
- getModule(Iterable<? extends Element>) - Static method in class com.google.inject.spi.Elements
-
Returns the module composed of elements
.
- getNodeAttributes(GraphvizNode) - Method in class com.google.inject.grapher.graphviz.GraphvizRenderer
-
- getNodeId() - Method in class com.google.inject.grapher.graphviz.GraphvizNode
-
- getNodeLabel(GraphvizNode) - Method in class com.google.inject.grapher.graphviz.GraphvizRenderer
-
Creates the "label" for a node.
- getOnlyCause(Collection<Message>) - Static method in class com.google.inject.internal.Errors
-
Returns the cause throwable if there is exactly one cause in messages
.
- getOnlyElement(Iterable<T>) - Static method in class com.google.inject.internal.util.Iterables
-
Returns the single element contained in iterable
.
- getOnlyElement(Iterator<T>) - Static method in class com.google.inject.internal.util.Iterators
-
Returns the single element contained in iterator
.
- getOwnerType() - Method in class com.google.inject.internal.MoreTypes.ParameterizedTypeImpl
-
- getParameterIndex() - Method in class com.google.inject.spi.Dependency
-
Returns the index of this dependency in the injection point's parameter list, or -1
if
this dependency does not belong to a parameter list.
- getParameterTypes(Member) - Method in class com.google.inject.TypeLiteral
-
Returns the resolved generic parameter types of methodOrConstructor
.
- getParent() - Method in interface com.google.inject.Injector
-
Returns this injector's parent, or null
if this is a top-level injector.
- getPartialValue() - Method in exception com.google.inject.ConfigurationException
-
Returns a value that was only partially computed due to this exception.
- getPattern() - Method in interface com.google.inject.servlet.ServletModuleBinding
-
Returns the pattern used to match against the binding.
- getPortId(Member) - Method in interface com.google.inject.grapher.graphviz.PortIdFactory
-
- getPortId(Member) - Method in class com.google.inject.grapher.graphviz.PortIdFactoryImpl
-
- getPrivateElements() - Method in class com.google.inject.internal.ExposedBindingImpl
-
- getPrivateElements() - Method in interface com.google.inject.spi.ExposedBinding
-
Returns the enclosed environment that holds the original binding.
- getProvidedKey() - Method in interface com.google.inject.spi.ProviderBinding
-
- getProvider(Key<T>) - Method in class com.google.inject.AbstractModule
-
- getProvider(Class<T>) - Method in class com.google.inject.AbstractModule
-
- getProvider(Key<T>) - Method in interface com.google.inject.Binder
-
Returns the provider used to obtain instances for the given injection key.
- getProvider(Class<T>) - Method in interface com.google.inject.Binder
-
Returns the provider used to obtain instances for the given injection type.
- getProvider() - Method in interface com.google.inject.Binding
-
Returns the scoped provider guice uses to fulfill requests for this
binding.
- getProvider(Key<T>) - Method in interface com.google.inject.Injector
-
Returns the provider used to obtain instances for the given injection key.
- getProvider(Class<T>) - Method in interface com.google.inject.Injector
-
Returns the provider used to obtain instances for the given type.
- getProvider() - Method in class com.google.inject.internal.BindingImpl
-
- getProvider(Key<T>) - Method in class com.google.inject.PrivateModule
-
- getProvider(Class<T>) - Method in class com.google.inject.PrivateModule
-
- getProvider() - Method in class com.google.inject.spi.ProviderLookup
-
Returns the looked up provider.
- getProvider(Key<T>) - Method in interface com.google.inject.spi.TypeEncounter
-
Returns the provider used to obtain instances for the given injection key.
- getProvider(Class<T>) - Method in interface com.google.inject.spi.TypeEncounter
-
Returns the provider used to obtain instances for the given injection type.
- getProvider() - Method in interface com.google.inject.tools.jmx.ManagedBindingMBean
-
Gets the provider to which this binding is bound.
- getProviderInstance() - Method in interface com.google.inject.spi.ProviderInstanceBinding
-
Returns the user-supplied, unscoped provider.
- getProviderKey() - Method in interface com.google.inject.spi.ProviderKeyBinding
-
Returns the key used to resolve the provider's binding.
- getProviderMethods(Binder) - Method in class com.google.inject.internal.ProviderMethodsModule
-
- getRawType(Type) - Static method in class com.google.inject.internal.MoreTypes
-
- getRawType() - Method in class com.google.inject.internal.MoreTypes.ParameterizedTypeImpl
-
- getRawType() - Method in class com.google.inject.TypeLiteral
-
Returns the raw (non-generic) type for this type.
- getReturnType(Method) - Method in class com.google.inject.TypeLiteral
-
Returns the resolved generic return type of method
.
- getScope() - Method in class com.google.inject.spi.ScopeBinding
-
- getScopeAnnotation() - Method in class com.google.inject.internal.Scoping
-
Returns the scope annotation, or null
if that isn't known for this instance.
- getScopeBindings() - Method in interface com.google.inject.Injector
-
Returns a map containing all scopes in the injector.
- getScopeInstance() - Method in class com.google.inject.internal.Scoping
-
Returns the scope instance, or null
if that isn't known for this instance.
- getScoping() - Method in class com.google.inject.internal.BindingImpl
-
- getServletContext() - Method in class com.google.inject.servlet.ServletModule
-
- getServletInstance() - Method in interface com.google.inject.servlet.InstanceServletBinding
-
Returns the servlet instance that will be used.
- getSetKey() - Method in interface com.google.inject.multibindings.MultibinderBinding
-
Returns the key for the set.
- getShape() - Method in class com.google.inject.grapher.graphviz.GraphvizNode
-
- getSource() - Method in class com.google.inject.internal.BindingImpl
-
- getSource() - Method in class com.google.inject.internal.ExposureBuilder
-
- getSource() - Method in class com.google.inject.internal.PrivateElementsImpl
-
- getSource() - Method in class com.google.inject.spi.DisableCircularProxiesOption
-
- getSource() - Method in interface com.google.inject.spi.Element
-
Returns an arbitrary object containing information about the "place" where this element was
configured.
- getSource() - Method in class com.google.inject.spi.InjectionRequest
-
- getSource() - Method in class com.google.inject.spi.InterceptorBinding
-
- getSource() - Method in class com.google.inject.spi.MembersInjectorLookup
-
- getSource() - Method in class com.google.inject.spi.Message
-
- getSource() - Method in class com.google.inject.spi.ProviderLookup
-
- getSource() - Method in class com.google.inject.spi.RequireExplicitBindingsOption
-
- getSource() - Method in class com.google.inject.spi.ScopeBinding
-
- getSource() - Method in class com.google.inject.spi.StaticInjectionRequest
-
- getSource() - Method in class com.google.inject.spi.TypeConverterBinding
-
- getSource() - Method in class com.google.inject.spi.TypeListenerBinding
-
- getSource() - Method in interface com.google.inject.tools.jmx.ManagedBindingMBean
-
Gets the source of this binding.
- getSourceKey() - Method in interface com.google.inject.spi.ConvertedConstantBinding
-
Returns the key for the source binding.
- getSourceName(Object) - Method in interface com.google.inject.grapher.NameFactory
-
- getSourceName(Object) - Method in class com.google.inject.grapher.ShortNameFactory
-
Returns a name for a Guice "source" object.
- getSources() - Method in class com.google.inject.internal.Errors
-
- getSources() - Method in class com.google.inject.spi.Message
-
- getStyle() - Method in class com.google.inject.grapher.graphviz.GraphvizEdge
-
- getStyle() - Method in class com.google.inject.grapher.graphviz.GraphvizNode
-
- getSubtitles() - Method in class com.google.inject.grapher.graphviz.GraphvizNode
-
- getSupertype(Class<?>) - Method in class com.google.inject.TypeLiteral
-
Returns the generic form of supertype
.
- getTailCompassPoint() - Method in class com.google.inject.grapher.graphviz.GraphvizEdge
-
- getTailNodeId() - Method in class com.google.inject.grapher.graphviz.GraphvizEdge
-
- getTailPortId() - Method in class com.google.inject.grapher.graphviz.GraphvizEdge
-
- getTitle() - Method in class com.google.inject.grapher.graphviz.GraphvizNode
-
- getTransactionInterceptor() - Method in class com.google.inject.persist.jpa.JpaPersistModule
-
- getTransactionInterceptor() - Method in class com.google.inject.persist.PersistModule
-
- getType() - Method in class com.google.inject.spi.InjectionRequest
-
- getType() - Method in class com.google.inject.spi.MembersInjectorLookup
-
Gets the type containing the members to be injected.
- getType() - Method in class com.google.inject.spi.StaticInjectionRequest
-
- getType() - Method in class com.google.inject.TypeLiteral
-
Gets underlying Type
instance.
- getTypeConverter() - Method in class com.google.inject.spi.TypeConverterBinding
-
- getTypeConverterBinding() - Method in interface com.google.inject.spi.ConvertedConstantBinding
-
Returns the type converter binding used to convert the constant.
- getTypeConverterBindings() - Method in interface com.google.inject.Injector
-
Returns a set containing all type converter bindings in the injector.
- getTypeLiteral() - Method in class com.google.inject.Key
-
Gets the key type.
- getTypeMatcher() - Method in class com.google.inject.spi.TypeConverterBinding
-
- getTypeMatcher() - Method in class com.google.inject.spi.TypeListenerBinding
-
Returns the type matcher which chooses which types the listener should be notified of.
- getUpperBounds() - Method in class com.google.inject.internal.MoreTypes.WildcardTypeImpl
-
- getUriPatternType() - Method in interface com.google.inject.servlet.ServletModuleBinding
-
Returns the pattern type that this binding was created with.
- getValue() - Method in class com.google.inject.internal.util.AbstractMapEntry
-
- getValue() - Method in interface com.google.inject.spi.ConvertedConstantBinding
-
Returns the converted value.
- getValueTypeLiteral() - Method in interface com.google.inject.multibindings.MapBinderBinding
-
Returns the TypeLiteral describing the values of the map.
- graph() - Method in class com.google.inject.grapher.InjectorGrapher
-
Renders a graph with the bound
Renderer
.
- GrapherModule - Class in com.google.inject.grapher
-
- GrapherModule() - Constructor for class com.google.inject.grapher.GrapherModule
-
- GraphingVisitor<K,N extends InterfaceNode<K>,M extends ImplementationNode<K>,B extends BindingEdge<K>,D extends DependencyEdge<K>> - Class in com.google.inject.grapher
-
- GraphingVisitor(NodeIdFactory<K>, InterfaceNode.Factory<K, N>, ImplementationNode.Factory<K, M>, BindingEdge.Factory<K, B>, DependencyEdge.Factory<K, D>, NodeAliasFactory<K>) - Constructor for class com.google.inject.grapher.GraphingVisitor
-
- GraphvizEdge - Class in com.google.inject.grapher.graphviz
-
Data object to encapsulate the attributes of Graphviz edges that we're
interested in drawing.
- GraphvizEdge(String, String) - Constructor for class com.google.inject.grapher.graphviz.GraphvizEdge
-
- GraphvizModule - Class in com.google.inject.grapher.graphviz
-
- GraphvizModule() - Constructor for class com.google.inject.grapher.graphviz.GraphvizModule
-
- GraphvizNode - Class in com.google.inject.grapher.graphviz
-
Data object to encapsulate the attributes of Graphviz nodes that we're
interested in drawing.
- GraphvizNode(String) - Constructor for class com.google.inject.grapher.graphviz.GraphvizNode
-
- GraphvizRenderer - Class in com.google.inject.grapher.graphviz
-
Renderer
implementation that writes out a Graphviz DOT file of the
graph.
- GraphvizRenderer() - Constructor for class com.google.inject.grapher.graphviz.GraphvizRenderer
-
- Guice - Class in com.google.inject
-
The entry point to the Guice framework.
- GuiceFilter - Class in com.google.inject.servlet
-
Apply this filter in web.xml above all other filters (typically), to all requests where you plan
to use servlet scopes.
- GuiceFilter() - Constructor for class com.google.inject.servlet.GuiceFilter
-
- GuiceServletContextListener - Class in com.google.inject.servlet
-
As of Guice 2.0 you can still use (your subclasses of) GuiceServletContextListener
class as a logical place to create and configure your injector.
- GuiceServletContextListener() - Constructor for class com.google.inject.servlet.GuiceServletContextListener
-
- guicify(Provider<T>) - Static method in class com.google.inject.util.Providers
-
Returns a Guice-friendly com.google.inject.Provider
for the given
JSR-330 javax.inject.Provider
.
- identicalTo(Object) - Static method in class com.google.inject.matcher.Matchers
-
Returns a matcher which matches only the given object.
- ImmutableCollection<E> - Class in com.google.inject.internal.util
-
An immutable collection.
- immutableEntry(K, V) - Static method in class com.google.inject.internal.util.Maps
-
Returns an immutable map entry with the specified key and value.
- ImmutableList<E> - Class in com.google.inject.internal.util
-
A high-performance, immutable, random-access List
implementation.
- ImmutableList.Builder<E> - Class in com.google.inject.internal.util
-
A builder for creating immutable list instances, especially
public static final
lists ("constant lists").
- ImmutableList.Builder() - Constructor for class com.google.inject.internal.util.ImmutableList.Builder
-
Creates a new builder.
- ImmutableMap<K,V> - Class in com.google.inject.internal.util
-
An immutable, hash-based
Map
with reliable user-specified iteration
order.
- ImmutableMap.Builder<K,V> - Class in com.google.inject.internal.util
-
A builder for creating immutable map instances, especially public
static final
maps ("constant maps").
- ImmutableMap.Builder() - Constructor for class com.google.inject.internal.util.ImmutableMap.Builder
-
Creates a new builder.
- ImmutableSet<E> - Class in com.google.inject.internal.util
-
A high-performance, immutable Set
with reliable, user-specified
iteration order.
- ImmutableSet.Builder<E> - Class in com.google.inject.internal.util
-
A builder for creating immutable set instances, especially
public static final
sets ("constant sets").
- ImmutableSet.Builder() - Constructor for class com.google.inject.internal.util.ImmutableSet.Builder
-
Creates a new builder.
- implement(Class<T>, Class<? extends T>) - Method in class com.google.inject.assistedinject.FactoryModuleBuilder
-
- implement(Class<T>, TypeLiteral<? extends T>) - Method in class com.google.inject.assistedinject.FactoryModuleBuilder
-
- implement(TypeLiteral<T>, Class<? extends T>) - Method in class com.google.inject.assistedinject.FactoryModuleBuilder
-
- implement(TypeLiteral<T>, TypeLiteral<? extends T>) - Method in class com.google.inject.assistedinject.FactoryModuleBuilder
-
- implement(Class<T>, Annotation, Class<? extends T>) - Method in class com.google.inject.assistedinject.FactoryModuleBuilder
-
- implement(Class<T>, Annotation, TypeLiteral<? extends T>) - Method in class com.google.inject.assistedinject.FactoryModuleBuilder
-
- implement(TypeLiteral<T>, Annotation, Class<? extends T>) - Method in class com.google.inject.assistedinject.FactoryModuleBuilder
-
- implement(TypeLiteral<T>, Annotation, TypeLiteral<? extends T>) - Method in class com.google.inject.assistedinject.FactoryModuleBuilder
-
- implement(Class<T>, Class<? extends Annotation>, Class<? extends T>) - Method in class com.google.inject.assistedinject.FactoryModuleBuilder
-
- implement(Class<T>, Class<? extends Annotation>, TypeLiteral<? extends T>) - Method in class com.google.inject.assistedinject.FactoryModuleBuilder
-
- implement(TypeLiteral<T>, Class<? extends Annotation>, Class<? extends T>) - Method in class com.google.inject.assistedinject.FactoryModuleBuilder
-
- implement(TypeLiteral<T>, Class<? extends Annotation>, TypeLiteral<? extends T>) - Method in class com.google.inject.assistedinject.FactoryModuleBuilder
-
- implement(Key<T>, Class<? extends T>) - Method in class com.google.inject.assistedinject.FactoryModuleBuilder
-
- implement(Key<T>, TypeLiteral<? extends T>) - Method in class com.google.inject.assistedinject.FactoryModuleBuilder
-
- IMPLEMENTATION_ALREADY_SET - Static variable in class com.google.inject.internal.AbstractBindingBuilder
-
- ImplementationNode<K> - Interface in com.google.inject.grapher
-
Node for classes and instances that have
Dependency
s and are
bound to
InterfaceNode
s.
- ImplementationNode.Factory<K,T extends ImplementationNode<K>> - Interface in com.google.inject.grapher
-
- ImplementationNodeFactory - Class in com.google.inject.grapher.graphviz
-
Graphviz-specific implementation of ImplementationNode.Factory
.
- ImplementationNodeFactory(GraphvizRenderer, NameFactory, PortIdFactory) - Constructor for class com.google.inject.grapher.graphviz.ImplementationNodeFactory
-
- ImplementationNodeFactory.GraphvizNodeAdaptor - Class in com.google.inject.grapher.graphviz
-
- ImplementationNodeFactory.GraphvizNodeAdaptor(GraphvizNode) - Constructor for class com.google.inject.grapher.graphviz.ImplementationNodeFactory.GraphvizNodeAdaptor
-
- ImplementedBy - Annotation Type in com.google.inject
-
A pointer to the default implementation of a type.
- in(Class<? extends Annotation>) - Method in interface com.google.inject.binder.ScopedBindingBuilder
-
See the EDSL examples at
Binder
.
- in(Scope) - Method in interface com.google.inject.binder.ScopedBindingBuilder
-
See the EDSL examples at
Binder
.
- in(Class<? extends Annotation>) - Method in class com.google.inject.internal.AbstractBindingBuilder
-
- in(Scope) - Method in class com.google.inject.internal.AbstractBindingBuilder
-
- indexOf(Object) - Method in class com.google.inject.internal.util.ImmutableList
-
- init(FilterConfig) - Method in class com.google.inject.persist.PersistFilter
-
- init(FilterConfig) - Method in class com.google.inject.servlet.GuiceFilter
-
- initialCapacity(int) - Method in class com.google.inject.internal.util.MapMaker
-
Sets a custom initial capacity (defaults to 16).
- initializeDelegate(MembersInjector<T>) - Method in class com.google.inject.spi.MembersInjectorLookup
-
Sets the actual members injector.
- initializeDelegate(Provider<T>) - Method in class com.google.inject.spi.ProviderLookup
-
Sets the actual provider.
- initInjector(Injector) - Method in class com.google.inject.internal.PrivateElementsImpl
-
- Inject - Annotation Type in com.google.inject
-
Annotates members of your implementation class (constructors, methods
and fields) into which the
Injector
should inject values.
- InjectionListener<I> - Interface in com.google.inject.spi
-
Listens for injections into instances of type I
.
- InjectionPoint - Class in com.google.inject.spi
-
A constructor, field or method that can receive injections.
- InjectionRequest<T> - Class in com.google.inject.spi
-
A request to inject the instance fields and methods of an instance.
- InjectionRequest(Object, TypeLiteral<T>, T) - Constructor for class com.google.inject.spi.InjectionRequest
-
- injectMembers(Object) - Method in interface com.google.inject.Injector
-
Injects dependencies into the fields and methods of instance
.
- injectMembers(T) - Method in interface com.google.inject.MembersInjector
-
Injects dependencies into the fields and methods of instance
.
- Injector - Interface in com.google.inject
-
Builds the graphs of objects that make up your application.
- InjectorGrapher - Class in com.google.inject.grapher
-
- InjectorGrapher(BindingTargetVisitor<Object, Collection<Key<?>>>, BindingTargetVisitor<Object, Void>, Renderer) - Constructor for class com.google.inject.grapher.InjectorGrapher
-
- inPackage(Package) - Static method in class com.google.inject.matcher.Matchers
-
Returns a matcher which matches classes in the given package.
- install(Module) - Method in class com.google.inject.AbstractModule
-
- install(Module) - Method in interface com.google.inject.Binder
-
Uses the given module to configure more bindings.
- install(Module) - Method in class com.google.inject.PrivateModule
-
- InstanceBinding<T> - Interface in com.google.inject.spi
-
A binding to a single instance.
- InstanceFilterBinding - Interface in com.google.inject.servlet
-
A binding to a single instance of a filter.
- InstanceServletBinding - Interface in com.google.inject.servlet
-
A binding to a single instance of a servlet.
- inSubpackage(String) - Static method in class com.google.inject.matcher.Matchers
-
Returns a matcher which matches classes in the given package and its subpackages.
- InterceptorBinding - Class in com.google.inject.spi
-
Registration of interceptors for matching methods of matching classes.
- InterfaceNode<K> - Interface in com.google.inject.grapher
-
Node for an interface class that has been bound to an implementation class
or instance.
- InterfaceNode.Factory<K,T extends InterfaceNode<K>> - Interface in com.google.inject.grapher
-
- InterfaceNodeFactory - Class in com.google.inject.grapher.graphviz
-
Graphviz-specific implementation of InterfaceNode.Factory
.
- InterfaceNodeFactory(GraphvizRenderer, NameFactory) - Constructor for class com.google.inject.grapher.graphviz.InterfaceNodeFactory
-
- InterfaceNodeFactory.GraphvizNodeAdaptor - Class in com.google.inject.grapher.graphviz
-
- InterfaceNodeFactory.GraphvizNodeAdaptor(GraphvizNode) - Constructor for class com.google.inject.grapher.graphviz.InterfaceNodeFactory.GraphvizNodeAdaptor
-
- InternalInjectorCreator - Class in com.google.inject.internal
-
Builds a tree of injectors.
- InternalInjectorCreator() - Constructor for class com.google.inject.internal.InternalInjectorCreator
-
- isBindingAnnotation(Class<? extends Annotation>) - Static method in class com.google.inject.internal.Annotations
-
Returns true if annotations of the specified type are binding annotations.
- isConcrete(Class<?>) - Static method in class com.google.inject.internal.util.Classes
-
- isConstant() - Method in class com.google.inject.internal.BindingImpl
-
Is this a constant binding? This returns true for constant bindings as
well as toInstance() bindings.
- isEagerSingleton(Stage) - Method in class com.google.inject.internal.Scoping
-
Returns true if this scope is a singleton that should be loaded eagerly in stage
.
- isEmpty() - Method in class com.google.inject.internal.util.ImmutableCollection
-
- isExplicitlyScoped() - Method in class com.google.inject.internal.Scoping
-
Returns true if this scope was explicitly applied.
- isFullySpecified() - Method in class com.google.inject.internal.MoreTypes.GenericArrayTypeImpl
-
- isFullySpecified() - Method in class com.google.inject.internal.MoreTypes.ParameterizedTypeImpl
-
- isFullySpecified() - Method in class com.google.inject.internal.MoreTypes.WildcardTypeImpl
-
- isInnerClass(Class<?>) - Static method in class com.google.inject.internal.util.Classes
-
- isMarker(Class<? extends Annotation>) - Static method in class com.google.inject.internal.Annotations
-
Returns true
if the given annotation type has no attributes.
- isNoScope() - Method in class com.google.inject.internal.Scoping
-
Returns true if this is the default scope.
- isNullable() - Method in class com.google.inject.spi.Dependency
-
Returns true if null is a legal value for this dependency.
- isOptional() - Method in class com.google.inject.spi.InjectionPoint
-
Returns true if this injection point shall be skipped if the injector cannot resolve bindings
for all required dependencies.
- isRetainedAtRuntime(Class<? extends Annotation>) - Static method in class com.google.inject.internal.Annotations
-
Returns true if the given annotation is retained at runtime.
- isScopeAnnotation(Class<? extends Annotation>) - Static method in class com.google.inject.internal.Annotations
-
- isSingleton(Binding<?>) - Static method in class com.google.inject.Scopes
-
Returns true if binding
is singleton-scoped.
- isToolable() - Method in class com.google.inject.spi.InjectionPoint
-
Returns true if the element is annotated with @
Toolable
.
- Iterables - Class in com.google.inject.internal.util
-
This class contains static utility methods that operate on or return objects
of type Iterable
.
- iterator() - Method in class com.google.inject.internal.util.ImmutableCollection
-
Returns an unmodifiable iterator across the elements in this collection.
- iterator() - Method in class com.google.inject.internal.util.ImmutableList
-
- iterator() - Method in class com.google.inject.internal.util.ImmutableSet
-
- Iterators - Class in com.google.inject.internal.util
-
This class contains static utility methods that operate on or return objects
of type Iterator
.
- ObjectArrays - Class in com.google.inject.internal.util
-
Static utility methods pertaining to object arrays.
- Objects - Class in com.google.inject.internal.util
-
Helper functions that can operate on any Object
.
- of(Injector) - Method in class com.google.inject.grapher.InjectorGrapher
-
- of() - Static method in class com.google.inject.internal.util.ImmutableList
-
Returns the empty immutable list.
- of(E) - Static method in class com.google.inject.internal.util.ImmutableList
-
Returns an immutable list containing a single element.
- of(E, E) - Static method in class com.google.inject.internal.util.ImmutableList
-
Returns an immutable list containing the given elements, in order.
- of(E, E, E) - Static method in class com.google.inject.internal.util.ImmutableList
-
Returns an immutable list containing the given elements, in order.
- of(E, E, E, E) - Static method in class com.google.inject.internal.util.ImmutableList
-
Returns an immutable list containing the given elements, in order.
- of(E, E, E, E, E) - Static method in class com.google.inject.internal.util.ImmutableList
-
Returns an immutable list containing the given elements, in order.
- of(E...) - Static method in class com.google.inject.internal.util.ImmutableList
-
Returns an immutable list containing the given elements, in order.
- of() - Static method in class com.google.inject.internal.util.ImmutableMap
-
Returns the empty map.
- of(K, V) - Static method in class com.google.inject.internal.util.ImmutableMap
-
Returns an immutable map containing a single entry.
- of(K, V, K, V) - Static method in class com.google.inject.internal.util.ImmutableMap
-
Returns an immutable map containing the given entries, in order.
- of(K, V, K, V, K, V) - Static method in class com.google.inject.internal.util.ImmutableMap
-
Returns an immutable map containing the given entries, in order.
- of(K, V, K, V, K, V, K, V) - Static method in class com.google.inject.internal.util.ImmutableMap
-
Returns an immutable map containing the given entries, in order.
- of(K, V, K, V, K, V, K, V, K, V) - Static method in class com.google.inject.internal.util.ImmutableMap
-
Returns an immutable map containing the given entries, in order.
- of() - Static method in class com.google.inject.internal.util.ImmutableSet
-
Returns the empty immutable set.
- of(E) - Static method in class com.google.inject.internal.util.ImmutableSet
-
Returns an immutable set containing a single element.
- of(E...) - Static method in class com.google.inject.internal.util.ImmutableSet
-
Returns an immutable set containing the given elements, in order.
- of(T) - Static method in class com.google.inject.util.Providers
-
Returns a provider which always provides instance
.
- ofType(Class<T>) - Method in class com.google.inject.Key
-
Returns a new key of the specified type with the same annotation as this
key.
- ofType(Type) - Method in class com.google.inject.Key
-
Returns a new key of the specified type with the same annotation as this
key.
- ofType(TypeLiteral<T>) - Method in class com.google.inject.Key
-
Returns a new key of the specified type with the same annotation as this
key.
- only(Object) - Static method in class com.google.inject.matcher.Matchers
-
Returns a matcher which matches objects equal to the given object.
- optionalConstructor(Constructor) - Method in class com.google.inject.internal.Errors
-
- or(Matcher<? super T>) - Method in class com.google.inject.matcher.AbstractMatcher
-
- or(Matcher<? super T>) - Method in interface com.google.inject.matcher.Matcher
-
Returns a new matcher which returns true
if either this or the
given matcher return true
.
- OutOfScopeException - Exception in com.google.inject
-
Thrown from
Provider.get()
when an attempt is made to access a scoped
object while the scope in question is not currently active.
- OutOfScopeException(String) - Constructor for exception com.google.inject.OutOfScopeException
-
- OutOfScopeException(String, Throwable) - Constructor for exception com.google.inject.OutOfScopeException
-
- OutOfScopeException(Throwable) - Constructor for exception com.google.inject.OutOfScopeException
-
- override(Module...) - Static method in class com.google.inject.util.Modules
-
Returns a builder that creates a module that overlays override modules over the given
modules.
- override(Iterable<? extends Module>) - Static method in class com.google.inject.util.Modules
-
Returns a builder that creates a module that overlays override modules over the given
modules.
- valueOf(String) - Static method in enum com.google.inject.grapher.BindingEdge.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.inject.grapher.graphviz.ArrowType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.inject.grapher.graphviz.CompassPoint
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.inject.grapher.graphviz.EdgeStyle
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.inject.grapher.graphviz.NodeShape
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.inject.grapher.graphviz.NodeStyle
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.inject.internal.BytecodeGen.Visibility
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.inject.servlet.UriPatternType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.inject.Stage
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.google.inject.grapher.BindingEdge.Type
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.inject.grapher.graphviz.ArrowType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.inject.grapher.graphviz.CompassPoint
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.inject.grapher.graphviz.EdgeStyle
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.inject.grapher.graphviz.NodeShape
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.inject.grapher.graphviz.NodeStyle
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.inject.internal.BytecodeGen.Visibility
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Method in class com.google.inject.internal.util.ImmutableMap
-
Returns an immutable collection of the values in this map.
- values() - Static method in enum com.google.inject.servlet.UriPatternType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.inject.Stage
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- visit(AssistedInjectBinding<? extends T>) - Method in interface com.google.inject.assistedinject.AssistedInjectTargetVisitor
-
- visit(ConstructorBinding<?>) - Method in class com.google.inject.grapher.GraphingVisitor
-
- visit(ConvertedConstantBinding<?>) - Method in class com.google.inject.grapher.GraphingVisitor
-
- visit(ExposedBinding<?>) - Method in class com.google.inject.grapher.GraphingVisitor
-
Currently not displayed on the graph.
- visit(InstanceBinding<?>) - Method in class com.google.inject.grapher.GraphingVisitor
-
- visit(LinkedKeyBinding<?>) - Method in class com.google.inject.grapher.GraphingVisitor
-
- visit(ProviderBinding<?>) - Method in class com.google.inject.grapher.GraphingVisitor
-
- visit(ProviderInstanceBinding<?>) - Method in class com.google.inject.grapher.GraphingVisitor
-
- visit(ProviderKeyBinding<?>) - Method in class com.google.inject.grapher.GraphingVisitor
-
- visit(UntargettedBinding<?>) - Method in class com.google.inject.grapher.GraphingVisitor
-
Currently not displayed on the graph.
- visit(ConstructorBinding<?>) - Method in class com.google.inject.grapher.TransitiveDependencyVisitor
-
- visit(ConvertedConstantBinding<?>) - Method in class com.google.inject.grapher.TransitiveDependencyVisitor
-
- visit(ExposedBinding<?>) - Method in class com.google.inject.grapher.TransitiveDependencyVisitor
-
- visit(InstanceBinding<?>) - Method in class com.google.inject.grapher.TransitiveDependencyVisitor
-
- visit(LinkedKeyBinding<?>) - Method in class com.google.inject.grapher.TransitiveDependencyVisitor
-
- visit(ProviderBinding<?>) - Method in class com.google.inject.grapher.TransitiveDependencyVisitor
-
- visit(ProviderInstanceBinding<?>) - Method in class com.google.inject.grapher.TransitiveDependencyVisitor
-
- visit(ProviderKeyBinding<?>) - Method in class com.google.inject.grapher.TransitiveDependencyVisitor
-
- visit(UntargettedBinding<?>) - Method in class com.google.inject.grapher.TransitiveDependencyVisitor
-
- visit(MultibinderBinding<? extends T>) - Method in interface com.google.inject.multibindings.MultibindingsTargetVisitor
-
- visit(MapBinderBinding<? extends T>) - Method in interface com.google.inject.multibindings.MultibindingsTargetVisitor
-
- visit(LinkedFilterBinding) - Method in interface com.google.inject.servlet.ServletModuleTargetVisitor
-
- visit(InstanceFilterBinding) - Method in interface com.google.inject.servlet.ServletModuleTargetVisitor
-
- visit(LinkedServletBinding) - Method in interface com.google.inject.servlet.ServletModuleTargetVisitor
-
- visit(InstanceServletBinding) - Method in interface com.google.inject.servlet.ServletModuleTargetVisitor
-
- visit(InstanceBinding<? extends T>) - Method in interface com.google.inject.spi.BindingTargetVisitor
-
Visit a instance binding.
- visit(ProviderInstanceBinding<? extends T>) - Method in interface com.google.inject.spi.BindingTargetVisitor
-
Visit a provider instance binding.
- visit(ProviderKeyBinding<? extends T>) - Method in interface com.google.inject.spi.BindingTargetVisitor
-
Visit a provider key binding.
- visit(LinkedKeyBinding<? extends T>) - Method in interface com.google.inject.spi.BindingTargetVisitor
-
Visit a linked key binding.
- visit(ExposedBinding<? extends T>) - Method in interface com.google.inject.spi.BindingTargetVisitor
-
Visit a binding to a key exposed from an enclosed private environment.
- visit(UntargettedBinding<? extends T>) - Method in interface com.google.inject.spi.BindingTargetVisitor
-
Visit an untargetted binding.
- visit(ConstructorBinding<? extends T>) - Method in interface com.google.inject.spi.BindingTargetVisitor
-
Visit a constructor binding.
- visit(ConvertedConstantBinding<? extends T>) - Method in interface com.google.inject.spi.BindingTargetVisitor
-
Visit a binding created from converting a bound instance to a new type.
- visit(ProviderBinding<? extends T>) - Method in interface com.google.inject.spi.BindingTargetVisitor
-
Visit a binding to a
Provider
that delegates to the binding for the
provided type.
- visit(InstanceBinding<? extends T>) - Method in class com.google.inject.spi.DefaultBindingTargetVisitor
-
- visit(ProviderInstanceBinding<? extends T>) - Method in class com.google.inject.spi.DefaultBindingTargetVisitor
-
- visit(ProviderKeyBinding<? extends T>) - Method in class com.google.inject.spi.DefaultBindingTargetVisitor
-
- visit(LinkedKeyBinding<? extends T>) - Method in class com.google.inject.spi.DefaultBindingTargetVisitor
-
- visit(ExposedBinding<? extends T>) - Method in class com.google.inject.spi.DefaultBindingTargetVisitor
-
- visit(UntargettedBinding<? extends T>) - Method in class com.google.inject.spi.DefaultBindingTargetVisitor
-
- visit(ConstructorBinding<? extends T>) - Method in class com.google.inject.spi.DefaultBindingTargetVisitor
-
- visit(ConvertedConstantBinding<? extends T>) - Method in class com.google.inject.spi.DefaultBindingTargetVisitor
-
- visit(ProviderBinding<? extends T>) - Method in class com.google.inject.spi.DefaultBindingTargetVisitor
-
- visit(Message) - Method in class com.google.inject.spi.DefaultElementVisitor
-
- visit(Binding<T>) - Method in class com.google.inject.spi.DefaultElementVisitor
-
- visit(InterceptorBinding) - Method in class com.google.inject.spi.DefaultElementVisitor
-
- visit(ScopeBinding) - Method in class com.google.inject.spi.DefaultElementVisitor
-
- visit(TypeConverterBinding) - Method in class com.google.inject.spi.DefaultElementVisitor
-
- visit(ProviderLookup<T>) - Method in class com.google.inject.spi.DefaultElementVisitor
-
- visit(InjectionRequest<?>) - Method in class com.google.inject.spi.DefaultElementVisitor
-
- visit(StaticInjectionRequest) - Method in class com.google.inject.spi.DefaultElementVisitor
-
- visit(PrivateElements) - Method in class com.google.inject.spi.DefaultElementVisitor
-
- visit(MembersInjectorLookup<T>) - Method in class com.google.inject.spi.DefaultElementVisitor
-
- visit(TypeListenerBinding) - Method in class com.google.inject.spi.DefaultElementVisitor
-
- visit(DisableCircularProxiesOption) - Method in class com.google.inject.spi.DefaultElementVisitor
-
- visit(RequireExplicitBindingsOption) - Method in class com.google.inject.spi.DefaultElementVisitor
-
- visit(Binding<T>) - Method in interface com.google.inject.spi.ElementVisitor
-
Visit a mapping from a key (type and optional annotation) to the strategy for getting
instances of the type.
- visit(InterceptorBinding) - Method in interface com.google.inject.spi.ElementVisitor
-
Visit a registration of interceptors for matching methods of matching classes.
- visit(ScopeBinding) - Method in interface com.google.inject.spi.ElementVisitor
-
Visit a registration of a scope annotation with the scope that implements it.
- visit(TypeConverterBinding) - Method in interface com.google.inject.spi.ElementVisitor
-
Visit a registration of type converters for matching target types.
- visit(InjectionRequest<?>) - Method in interface com.google.inject.spi.ElementVisitor
-
Visit a request to inject the instance fields and methods of an instance.
- visit(StaticInjectionRequest) - Method in interface com.google.inject.spi.ElementVisitor
-
Visit a request to inject the static fields and methods of type.
- visit(ProviderLookup<T>) - Method in interface com.google.inject.spi.ElementVisitor
-
Visit a lookup of the provider for a type.
- visit(MembersInjectorLookup<T>) - Method in interface com.google.inject.spi.ElementVisitor
-
Visit a lookup of the members injector.
- visit(Message) - Method in interface com.google.inject.spi.ElementVisitor
-
Visit an error message and the context in which it occured.
- visit(PrivateElements) - Method in interface com.google.inject.spi.ElementVisitor
-
- visit(TypeListenerBinding) - Method in interface com.google.inject.spi.ElementVisitor
-
Visit an injectable type listener binding.
- visit(RequireExplicitBindingsOption) - Method in interface com.google.inject.spi.ElementVisitor
-
Visit a require explicit bindings command.
- visit(DisableCircularProxiesOption) - Method in interface com.google.inject.spi.ElementVisitor
-
Visit a disable circular proxies command.
- visitEagerSingleton() - Method in interface com.google.inject.spi.BindingScopingVisitor
-
Visit an eager singleton or single instance.
- visitEagerSingleton() - Method in class com.google.inject.spi.DefaultBindingScopingVisitor
-
- visitNoScoping() - Method in interface com.google.inject.spi.BindingScopingVisitor
-
Visit an unspecified or unscoped strategy.
- visitNoScoping() - Method in class com.google.inject.spi.DefaultBindingScopingVisitor
-
- visitOther() - Method in class com.google.inject.spi.DefaultBindingScopingVisitor
-
Default visit implementation.
- visitOther(Binding<? extends T>) - Method in class com.google.inject.spi.DefaultBindingTargetVisitor
-
Default visit implementation.
- visitOther(Element) - Method in class com.google.inject.spi.DefaultElementVisitor
-
Default visit implementation.
- visitScope(Scope) - Method in interface com.google.inject.spi.BindingScopingVisitor
-
Visit a scope instance.
- visitScope(Scope) - Method in class com.google.inject.spi.DefaultBindingScopingVisitor
-
- visitScopeAnnotation(Class<? extends Annotation>) - Method in interface com.google.inject.spi.BindingScopingVisitor
-
Visit a scope annotation.
- visitScopeAnnotation(Class<? extends Annotation>) - Method in class com.google.inject.spi.DefaultBindingScopingVisitor
-
- voidProviderMethod() - Method in class com.google.inject.internal.Errors
-