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 interfaceBinding<T>A mapping from a key (type and optional annotation) to the strategy for getting instances of the type. -
Uses of Element in com.google.inject.internal
Classes in com.google.inject.internal that implement Element Modifier and Type Class Description classBindingImpl<T>(package private) classConstructorBindingImpl<T>classExposedBindingImpl<T>private static classInjectorImpl.ConvertedConstantBindingImpl<T>private static classInjectorImpl.ProviderBindingImpl<T>(package private) classInstanceBindingImpl<T>(package private) classInternalProviderInstanceBindingImpl<T>AProviderInstanceBindingImplfor implementing 'native' guice extensions.classLinkedBindingImpl<T>(package private) classLinkedProviderBindingImpl<T>classPrivateElementsImpl(package private) classProviderInstanceBindingImpl<T>(package private) classUntargettedBindingImpl<T>Fields in com.google.inject.internal with type parameters of type Element Modifier and Type Field Description protected java.util.List<Element>AbstractBindingBuilder. elementsprivate java.util.List<Element>InjectorShell.Builder. elementsprivate java.util.List<Element>InjectorShell. elementsprivate com.google.common.collect.ImmutableList<Element>PrivateElementsImpl. elementslazily instantiatedprivate java.util.List<Element>PrivateElementsImpl. elementsMutableprivate java.util.List<Element>DeferredLookups. lookupsMethods in com.google.inject.internal that return types with arguments of type Element Modifier and Type Method Description (package private) java.util.List<Element>InjectorShell. 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 booleanRealMapBinder.BindingSelection. containsElement(Element element)booleanRealMapBinder.RealMapProvider. containsElement(Element element)(package private) booleanRealMultibinder.BindingSelection. containsElement(Element element)(package private) booleanRealMultibinder. containsElement(Element element)booleanRealMultibinder.RealMultibinderProvider. containsElement(Element element)(package private) booleanRealOptionalBinder.BindingSelection. containsElement(Element element)Implementation ofOptionalBinderBinding.containsElement(com.google.inject.spi.Element).booleanRealOptionalBinder.JavaOptionalProvider. containsElement(Element element)booleanRealOptionalBinder.RealOptionalKeyProvider. containsElement(Element element)protected java.lang.BooleanAbstractProcessor. 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)voidAbstractProcessor. 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 booleanMapBinderBinding. 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.booleanMultibinderBinding. containsElement(Element element)Returns true if this Multibinder uses the given Element.booleanOptionalBinderBinding. 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 interfaceConstructorBinding<T>A binding to the constructor of a concrete clss.interfaceConvertedConstantBinding<T>A binding created from converting a bound instance to a new type.interfaceExposedBinding<T>A binding to a key exposed from an enclosed private environment.interfaceInstanceBinding<T>A binding to a single instance.interfaceLinkedKeyBinding<T>A binding to a linked key.interfacePrivateElementsA private collection of elements that are hidden from the enclosing injector or module by default.interfaceProviderBinding<T extends Provider<?>>A binding to aProviderthat delegates to the binding for the provided type.interfaceProviderInstanceBinding<T>A binding to a provider instance.interfaceProviderKeyBinding<T>A binding to a provider key.interfaceUntargettedBinding<T>An untargetted binding.Classes in com.google.inject.spi that implement Element Modifier and Type Class Description classDisableCircularProxiesOptionA request to disable circular proxies.classInjectionRequest<T>A request to inject the instance fields and methods of an instance.classInterceptorBindingRegistration of interceptors for matching methods of matching classes.classMembersInjectorLookup<T>A lookup of the members injector for a type.classMessageAn error message and the context in which it occured.classModuleAnnotatedMethodScannerBindingRepresents a call toBinder.scanModulesForAnnotatedMethods(com.google.inject.spi.ModuleAnnotatedMethodScanner)in a module.classProviderLookup<T>A lookup of the provider for a type.classProvisionListenerBindingBinds keys (picked using a Matcher) to a provision listener.classRequireAtInjectOnConstructorsOptionA request to require explicit @Injectannotations on constructors.classRequireExactBindingAnnotationsOptionA request to require exact binding annotations.classRequireExplicitBindingsOptionA request to require explicit bindings.classScopeBindingRegistration of a scope annotation with the scope that implements it.classStaticInjectionRequestA request to inject the static fields and methods of a type.classTypeConverterBindingRegistration of type converters for matching target types.classTypeListenerBindingBinds 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. elementsprivate java.util.List<Element>Elements.RecordingBinder. elementsMethods 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 VDefaultElementVisitor. 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 ModuleElements. 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.VoidModules.ModuleWriter. visitOther(Element element)Method parameters in com.google.inject.util with type arguments of type Element Modifier and Type Method Description private static ModuleModules. extractScanners(java.lang.Iterable<Element> elements)(package private) voidModules.ModuleWriter. writeAll(java.lang.Iterable<? extends Element> elements)
-