Uses of Interface
com.google.inject.spi.Element
-
Packages that use Element Package Description com.google.inject Google Guice (pronounced "juice") is an ultra-lightweight dependency injection framework.com.google.inject.internal Guice (sounds like "juice")com.google.inject.multibindings Extension for binding multiple instances in a collection; this extension requiresguice-multibindings.jar
.com.google.inject.spi Guice service provider interfacecom.google.inject.util Helper methods for working with Guice. -
-
Uses of Element in com.google.inject
Subinterfaces of Element in com.google.inject Modifier and Type Interface Description interface
Binding<T>
A mapping from a key (type and optional annotation) to the strategy for getting instances of the type.Methods in com.google.inject that return types with arguments of type Element Modifier and Type Method Description java.util.List<Element>
Injector. getElements()
Returns the elements that make up this injector. -
Uses of Element in com.google.inject.internal
Classes in com.google.inject.internal that implement Element Modifier and Type Class Description class
BindingImpl<T>
(package private) class
ConstructorBindingImpl<T>
class
ExposedBindingImpl<T>
private static class
InjectorImpl.ConvertedConstantBindingImpl<T>
private static class
InjectorImpl.SyntheticProviderBindingImpl<T>
A framework-created JIT Providerbinding. (package private) class
InstanceBindingImpl<T>
(package private) class
InternalProviderInstanceBindingImpl<T>
AProviderInstanceBindingImpl
for implementing 'native' guice extensions.class
LinkedBindingImpl<T>
(package private) class
LinkedProviderBindingImpl<T>
class
PrivateElementsImpl
(package private) class
ProviderInstanceBindingImpl<T>
(package private) class
UntargettedBindingImpl<T>
Fields in com.google.inject.internal with type parameters of type Element Modifier and Type Field Description protected java.util.List<Element>
AbstractBindingBuilder. elements
private java.util.List<Element>
InjectorShell.Builder. elements
private java.util.List<Element>
InjectorShell. elements
private com.google.common.collect.ImmutableList<Element>
PrivateElementsImpl. elements
lazily instantiatedprivate java.util.List<Element>
PrivateElementsImpl. elementsMutable
private java.util.List<Element>
DeferredLookups. lookups
Methods in com.google.inject.internal that return types with arguments of type Element Modifier and Type Method Description java.util.List<Element>
InjectorImpl. getElements()
(package private) java.util.List<Element>
InjectorShell. getElements()
java.util.List<Element>
InternalInjectorCreator.ToolStageInjector. getElements()
java.util.List<Element>
PrivateElementsImpl. getElements()
java.util.List<Element>
PrivateElementsImpl. getElementsMutable()
Methods in com.google.inject.internal with parameters of type Element Modifier and Type Method Description private boolean
RealMapBinder.BindingSelection. containsElement(Element element)
boolean
RealMapBinder.RealMapProvider. containsElement(Element element)
(package private) boolean
RealMultibinder.BindingSelection. containsElement(Element element)
(package private) boolean
RealMultibinder. containsElement(Element element)
boolean
RealMultibinder.RealMultibinderProvider. containsElement(Element element)
(package private) boolean
RealOptionalBinder.BindingSelection. containsElement(Element element)
Implementation ofOptionalBinderBinding.containsElement(com.google.inject.spi.Element)
.boolean
RealOptionalBinder.JavaOptionalProvider. containsElement(Element element)
boolean
RealOptionalBinder.RealOptionalKeyProvider. containsElement(Element element)
protected java.lang.Boolean
AbstractProcessor. visitOther(Element element)
Method parameters in com.google.inject.internal with type arguments of type Element Modifier and Type Method Description java.util.List<java.util.Map.Entry<?,Binding<?>>>
RealMapBinder.RealMapProvider. getEntries(java.lang.Iterable<? extends Element> elements)
void
AbstractProcessor. process(InjectorImpl injector, java.util.List<Element> elements)
Constructor parameters in com.google.inject.internal with type arguments of type Element Constructor Description AbstractBindingBuilder(Binder binder, java.util.List<Element> elements, java.lang.Object source, Key<T> key)
BindingBuilder(Binder binder, java.util.List<Element> elements, java.lang.Object source, Key<T> key)
ConstantBindingBuilderImpl(Binder binder, java.util.List<Element> elements, java.lang.Object source)
InjectorShell(java.util.List<Element> elements, InjectorImpl injector)
-
Uses of Element in com.google.inject.multibindings
Methods in com.google.inject.multibindings with parameters of type Element Modifier and Type Method Description boolean
MapBinderBinding. containsElement(Element element)
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.boolean
MultibinderBinding. containsElement(Element element)
Returns true if this Multibinder uses the given Element.boolean
OptionalBinderBinding. containsElement(Element element)
Returns true if this OptionalBinder contains the given Element in order to build the optional binding or uses the given Element in order to support building and injecting its data.Method parameters in com.google.inject.multibindings with type arguments of type Element Modifier and Type Method Description java.util.List<java.util.Map.Entry<?,Binding<?>>>
MapBinderBinding. getEntries(java.lang.Iterable<? extends Element> elements)
Similar toMapBinderBinding.getEntries()
, but can be used on a MapBinderBinding retrieved fromElements.getElements(com.google.inject.Module...)
. -
Uses of Element in com.google.inject.spi
Subinterfaces of Element in com.google.inject.spi Modifier and Type Interface Description interface
ConstructorBinding<T>
A binding to the constructor of a concrete clss.interface
ConvertedConstantBinding<T>
A binding created from converting a bound instance to a new type.interface
ExposedBinding<T>
A binding to a key exposed from an enclosed private environment.interface
InstanceBinding<T>
A binding to a single instance.interface
LinkedKeyBinding<T>
A binding to a linked key.interface
PrivateElements
A private collection of elements that are hidden from the enclosing injector or module by default.interface
ProviderBinding<T extends Provider<?>>
A binding to aProvider
that delegates to the binding for the provided type.interface
ProviderInstanceBinding<T>
A binding to a provider instance.interface
ProviderKeyBinding<T>
A binding to a provider key.interface
UntargettedBinding<T>
An untargetted binding.Classes in com.google.inject.spi that implement Element Modifier and Type Class Description class
DisableCircularProxiesOption
A request to disable circular proxies.class
InjectionRequest<T>
A request to inject the instance fields and methods of an instance.class
MembersInjectorLookup<T>
A lookup of the members injector for a type.class
Message
An error message and the context in which it occured.class
ModuleAnnotatedMethodScannerBinding
Represents a call toBinder.scanModulesForAnnotatedMethods(com.google.inject.spi.ModuleAnnotatedMethodScanner)
in a module.class
ProviderLookup<T>
A lookup of the provider for a type.class
ProvisionListenerBinding
Binds keys (picked using a Matcher) to a provision listener.class
RequireAtInjectOnConstructorsOption
A request to require explicit @Inject
annotations on constructors.class
RequireExactBindingAnnotationsOption
A request to require exact binding annotations.class
RequireExplicitBindingsOption
A request to require explicit bindings.class
ScopeBinding
Registration of a scope annotation with the scope that implements it.class
StaticInjectionRequest
A request to inject the static fields and methods of a type.class
TypeConverterBinding
Registration of type converters for matching target types.class
TypeListenerBinding
Binds types (picked using a Matcher) to an type listener.Fields in com.google.inject.spi with type parameters of type Element Modifier and Type Field Description private java.lang.Iterable<? extends Element>
Elements.ElementsAsModule. elements
private java.util.List<Element>
Elements.RecordingBinder. elements
Methods in com.google.inject.spi that return types with arguments of type Element Modifier and Type Method Description static java.util.List<Element>
Elements. getElements(Module... modules)
Records the elements executed bymodules
.static java.util.List<Element>
Elements. getElements(Stage stage, Module... modules)
Records the elements executed bymodules
.static java.util.List<Element>
Elements. getElements(Stage stage, java.lang.Iterable<? extends Module> modules)
Records the elements executed bymodules
.static java.util.List<Element>
Elements. getElements(java.lang.Iterable<? extends Module> modules)
Records the elements executed bymodules
.java.util.List<Element>
PrivateElements. getElements()
Returns the configuration information in this private environment.Methods in com.google.inject.spi with parameters of type Element Modifier and Type Method Description protected V
DefaultElementVisitor. visitOther(Element element)
Default visit implementation.Method parameters in com.google.inject.spi with type arguments of type Element Modifier and Type Method Description static Module
Elements. getModule(java.lang.Iterable<? extends Element> elements)
Returns the module composed ofelements
.Constructor parameters in com.google.inject.spi with type arguments of type Element Constructor Description ElementsAsModule(java.lang.Iterable<? extends Element> elements)
-
Uses of Element in com.google.inject.util
Methods in com.google.inject.util with parameters of type Element Modifier and Type Method Description protected java.lang.Void
Modules.ModuleWriter. visitOther(Element element)
Method parameters in com.google.inject.util with type arguments of type Element Modifier and Type Method Description private static Module
Modules. extractScanners(java.lang.Iterable<Element> elements)
(package private) void
Modules.ModuleWriter. writeAll(java.lang.Iterable<? extends Element> elements)
-